Skip to content
UPEEC

SymPy

Symbolic mathematics in pure Python.

Easy
Comments 0
import sympy as sp
s, R, C = sp.symbols("s R C", positive=True)
H = 1 / (1 + s * R * C)
sp.simplify(H), sp.apart(1 / (s * (s + 1)))
sp.solve(sp.Eq(sp.Symbol("x")**2, 4))

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.