3 ms·
Seconded! I used Sympy recently to solve the rocket equation. It involved some integrals that my rusty math skills couldn't solve so I used Sympy to solve them
by exDM69 12y ago
Seconded!
I used Sympy recently to solve the rocket equation. It involved some integrals that my rusty math skills couldn't solve so I used Sympy to solve them.
Then I ran a side by side comparison between the integrals I solved with Sympy against a numerical solution using Scipy and Numpy to verify that my results are correct.
The only negative thing about Sympy is that it's rather slow.
Here's the code if you're interested:
https://gist.github.com/rikusalminen/6d6bb834d48b9664b38d https://gist.github.com/rikusalminen/6d6bb834d48b9664b38d