First time here? Check out the FAQ!
answered 2021-11-22 23:24:13 +0100
Well,
eq.subs({cos(th): f/sin(th)})
does the trick in the current case.