A body moves on a circle of radius with speed and angular speed

PHYSICS · Subjective · Fermi University Physics · Computational Physics · Scientific programming for physicists · Scientific programming for physicists

Computational Physics, Ch Letting the computer do the algebra

Problem

A body moves on a circle of radius rr with speed vv and angular speed ω\omega. Two expressions for its centripetal acceleration are written into SymPy as symbols with no numerical value: a1=v2/ra_1 = v^2/r and a2=ω2ra_2 = \omega^2 r, and the difference diff = a1 - a2\texttt{diff = a1 - a2} is formed. Predict what print(diff)\texttt{print(diff)} shows, without calling simplify\texttt{simplify}, and say whether it is 00. Then predict what happens if vv is replaced everywhere by ωr\omega r (its physical relation to ω\omega) and sp.simplify\texttt{sp.simplify} is then called on the result. Explain why the two predictions differ even though a1a_1 and a2a_2 describe the same acceleration physically.

Browse the problem library