Skip to main content

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

MIT


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


Download files

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

Source Distribution

newtonEQ-0.0.7.tar.gz (6.0 kB view hashes)

Uploaded Source

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