How can simple linear differential equations like this one be solved in sympy
?
y' + p(t)y = q(t)
I'm looking to solve it in two ways: symbolically (analytically) if possible, if sympy can derive the integrating factor, etc., and also a way to do it numerically so that the two can be compared. how can this be done in sympy
? is sympy.mpmath.odefun
the right place to look?