Hello, I have the same issue
In a constraint equation (in mechanics), I need to make these algebraic substitutions :
--> sqrt(xA1² + yA1²) =rF1
--> arctan(abs(yA1)/abs(xA1)) = aF1
--> sqrt(xC1^2+yC1^2) = rBTP
I try to do it with this code :
for i from 1 to nops(ListAlgsubs)
I have tried with algsubs or applyrule but it wasn't successfull in both cases.
Do you have an idea how can I do to simplify my expressions ? and namely conduct a good use of applyrule function
I join an extract of my code in order to facilitate the troubleshooting.