In my code I need to substitute ALL the expressions of sin(g(t))
(g
being a continuous function) to g(t)
(it's the tight angle approximation). This is a sample of what I get from my code:
-29.4*sin(2*t) - 19.6*sin(f(t)) + 4.0*Derivative(f(t), t)**2
I need to substitute both sin(f(t))
and sin(2*t)
. Not just one of them and sin(2*t)
changes, (sin(f(t))
is always the same). Is there a simpler way than adding an extra variable for what's inside the sin
or isn't there?