ConceptPythonBeginner
sympy.Eq
Python. Called in 2 tutorials; each line below leads to its place in the tutorial.
ToolPythonBeginner
SymPy from the ground up: where the pendulum's 1.74 % comes from
- print(sp.solve(sp.Eq(dE_dt, 0), th.diff(t, 2)))
- theta_dot_expr = sp.solve(sp.Eq(E, E0), theta_dot)[0]
- root_two = sp.solve(sp.Eq(two - 1, sp.Rational(1, 100)), theta0)
- root_three = sp.solve(sp.Eq(three - 1, sp.Rational(1, 100)), theta0)
- print(sp.solve(sp.Eq(theta0**2 / 16, 0.01), theta0))
- print(sp.solve(sp.Eq(x**2 / 16, sp.Rational(1, 100)), x))