January 2018
Beginner to intermediate
548 pages
12h 11m
English
SymPy offers several ways to solve linear and nonlinear equations and systems of equations. Of course, these functions do not always succeed in finding closed-form exact solutions. In this case, we can fall back to numerical solvers and obtain approximate solutions.
>>> from sympy import *
init_printing()
>>> var('x y z a')solve() function to solve equations (the right-hand side is 0 by default):>>> solve(x**2 - a, x)
Read now
Unlock full access