Question: what do you do when subs, algsubs and eval doens't work?

Hi all,

I have a large equation where i need to substitute a part by omega but it doesn't work.
To illustrate the problem i uploaded a simplified program showing the same problem.
I know i can do it manually but since i have a lot of these substitutions I would like to do it automatically...

thanks in advance!

In the simple equation f I want to substitute the sqrt(g)*sqrt(m+M)/(M^(3/2)*sqrt(l) by omega so the function becomes cos(omega*t)
I already tried a lot of things but it just doens't work. Help please?




Please Wait...