Simplified interface to Sympy for solving physics, engineering and maths problems
Project description
MathPad
Type-hinted, simplified interface to sympy
for solving engineering, science and maths problems.
Example
A car is driving at 5 miles per hour. The driver hits the brakes, decelerating at a rate of 2 meters per second squared. How long will the car take to come to come to a halt?
from mathpad import *
t = "t" * seconds # "t seconds"
velocity = 5 * miles / hour # "5 miles/hour"
deceleration = 2 * m / s ** 2 # "2 meters/second**2"
solution = solve(t, t == velocity / deceleration)
print(solution) # "Solution(t = 1.1176 seconds)"
Check out more examples in the Examples directory
Installation
Install via pip:
pip install mathpad
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Credits
This package was created with Cookiecutter and the browniebroke/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.