A Python package that simplifies equations.
Project description
extramaths 0.1.1
A Python package that simplifies equations. Right now it only does quadratics and 2D shape areas, soon I'll add more.
Go to https://pypi.org/project/extramaths/ to install the package.
Help Page
This help page shows examples of how all the functions work, for a more in-depth help page, please refer to https://github.com/WhenLifeHandsYouLemons/extramaths/wiki/Help.
For Quadratics
from extramaths import quadsolver
value1, value2 = quadsolver.quadraticsolver(a, b, c)
print(value1)
print(value2)
For Areas of 2D Shapes
from extramaths import areasolver
Square
area_of_square = areasolver.area_square(length)
print(area_of_square)
Rectangle
area_of_rectangle = areasolver.area_rect(height, width)
print(area_of_rectangle)
Right-Angled Triangle
area_of_right_angled_triangle = areasolver.area_right_angle_tri(base, height)
print(area_of_right_angled_triangle)
Non Right-Angled Triangle
area_of_non_right_angled_triangle = areasolver.area_non_right_angle_tri(a, b, C)
print(area_of_non_right_angled_triangle)
Rhombus
area_of_rhombus = areasolver.area_rhombus(D, d)
print(area_of_rhombus)
Trapezoid
area_of_trapezoid = areasolver.area_trapezoid(a, b, height)
print(area_of_trapezoid)
Circle
area_of_circle = areasolver.area_circle(r)
print(area_of_circle)
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
extramaths-0.1.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for extramaths-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6bfa61152d85832c74d6b54deaa554f7f5114b032737e944712ce40b3210e2b |
|
MD5 | 148b892e0e08d5eba43470277c862c2d |
|
BLAKE2b-256 | c9213439f77991f2c36471da532ab4feb2b278ef1e006702255e54cfa3d7f811 |