PHYSICS · Multi-part · Fermi University Physics · Computational Physics · Scientific programming for physicists · Scientific programming for physicists
Scientific Computing for Physicists, Ch Letting the computer do advanced algebra: operators, series and differentiated programs
Problem
Three square roots, one lesson about assumptions. In each part, say what a computer algebra system such as SymPy returns.
((a)) An LC circuit has inductance L and capacitance C. What does L/CC/L return with L and C as bare symbols, and what does it return once both are declared positive? Why is positive the right declaration here?
((b)) Write β=v/c for a velocity component v that may take either sign. State what β2 returns when β carries no assumption, and what it returns once β is declared real, and once it is declared positive. Which declaration matches v, and which matches the speed of light c?
((c)) Evaluate the Lorentz factor 1/1−β2 for v=−1.80×108ms−1 and c=3.00×108ms−1 to three significant figures, and say why the result is unchanged for v=+1.80×108ms−1.