Skip to content
UPEEC

SymPy

Symbolic mathematics: algebra, calculus, equation solving and LaTeX output.

Easy
Comments 0
import sympy as sp
t = sp.symbols("t")
sp.integrate(sp.sin(t)**2, (t, 0, sp.pi))   # pi/2

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.