ConceptPythonBeginner
sympy.series
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.series(sp.sin(theta), theta, 0, 4))
- print(sp.series(integrand, k, 0, 6))
- phi_integral = sp.integrate(sp.series(integrand, k, 0, 6).removeO(), (phi, 0, sp.pi / 2))
- print(sp.series(ratio, theta0, 0, 6))
- two = sp.series(ratio, theta0, 0, 4).removeO()
- three = sp.series(ratio, theta0, 0, 6).removeO()