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 r with speed v and angular speed ω. Two expressions for its centripetal acceleration are written into SymPy as symbols with no numerical value: a1=v2/r and a2=ω2r, and the difference diff = a1 - a2 is formed. Predict what print(diff) shows, without calling simplify, and say whether it is 0. Then predict what happens if v is replaced everywhere by ωr (its physical relation to ω) and sp.simplify is then called on the result. Explain why the two predictions differ even though a1 and a2 describe the same acceleration physically.