Arun V. answered 09/06/19
Science and Math Tutor
Sympy integrate doesn't include the constant, if you want to solve with a constant, you should use the dsolve function. For example, if you have p(x) = 2ax^2 - b, you can define r'(x) = p(x) = 2ax^2 - b, where r'(x) indicates the first derivative of r with respect to x. You simply have to then define r''(x) = p(x) = 2ax^2 - b to do a double integration.