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
Metadata
Release files for newtonEQ 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| newtonEQ-0.0.7.tar.gz | 6.0 kB | Details |
Release files / newtonEQ-0.0.7.tar.gz
| Download URL | newtonEQ-0.0.7.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b5f9e6c03381ee84ac4f06ccf381df0ec9e30905841783b81340f2b346da8db
|
|
BLAKE2b-256 checksum How to use checksums |
b4a5d442192dfb2e0e3d91a763be8e9426033f0f0e556ddeedf501cc987726ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|