A library of useful college physics formulas
Project description
newtonEQ is a library of formulas that can be applied to newtonian physics problems.
Installation
Use the package manager [pip] (https://pip.pypa.io/en/stable/) to install newtonEQ.
pip install newtonEQ
Usage
newtonEQ has a variety of different functions that allow for the simplification of solving college/physics problems. For example to find the components of a vector:
from newtonEQ import vcomp
#input the magnitude, angle from the positive x-axis, and the degree unit
vcomp(5, 36.9, "deg")
#this would return a tuple of the x and y components of the vector
The list of broad subjects covered so far are:
- Vectors
- Unit Conversion
- Quadratic Equations
- Moment of Inertia
- Translational and Rotational Kinematics
A more robust guide on how to use the functions is on the way.
Contributing
If you have discovered a bug in my code, or you want to change something about it, feel free to contact me at s.varadaraj03@gmail.com.
License
Change Log
0.0.1 (04/26/2022)
- First Release
0.0.2 (04/27/2022)
- Added Docstrings to the created functions
- Added GRAVITY as a constant
- Added functions for rotational and translational kinematics
- Added functions to calculating moments of inertia
- Added functions to convert non-SI Units to SI (for displacement and velocity)
- Added conversion from rotational to translational units (annd vise-versa)
- Added basic functions for mechanical energies
0.0.3 (04/27/2022)
- Added parameter and return values in the Docstrings
- Added clearer parameter guidelines for "moment"
- clearer TypeError system
0.0.4 (04/27/2022)
- Fixed error with vmag
- Added additional vector functions (dotprod, anglebetween)
- Added functions to convert rad to degrees (and vise-versa)
- Rearranged the general layout of the code
- Added cross product
0.0.5 (04/27/2022)
- Crossproduct is fixed now
- Added multipledispatch as a dependency
0.0.6 (04/30/2022)
- Changed README to be a .md rather than .txt file
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.
Source Distribution
File details
Details for the file newtonEQ-0.0.7.tar.gz
.
File metadata
- Download URL: newtonEQ-0.0.7.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b5f9e6c03381ee84ac4f06ccf381df0ec9e30905841783b81340f2b346da8db |
|
MD5 | 8fcdb1d5985888442433d15f3a86c188 |
|
BLAKE2b-256 | b4a5d442192dfb2e0e3d91a763be8e9426033f0f0e556ddeedf501cc987726ae |