ConceptPythonBeginner Computer algebra: formulas as trees, exact until you ask for digits print(f"SymPy sp.sqrt(8) = {sp.sqrt(8)}")print(sp.srepr(sp.sqrt(8)))print(sp.sqrt(2).evalf(50))gamma_series = sp.series(1 / sp.sqrt(1 - v**2 / c**2) - 1, v, 0, 6).removeO()
ToolPythonBeginner SymPy from the ground up: where the pendulum's 1.74 % comes from T0 = 2 * sp.pi * sp.sqrt(L / g)print(sp.sqrt(x**2))