Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mathpad-0.1.4.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

mathpad-0.1.4-py3-none-any.whl (23.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page