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.
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.
from extramaths import quadsolver
value1, value2 = quadsolver.quadraticsolver(a, b, c)
print(value1)
print(value2)
from extramaths import areasolver
area_of_square = areasolver.area_square(length)
print(area_of_square)
area_of_rectangle = areasolver.area_rect(height, width)
print(area_of_rectangle)
area_of_right_angled_triangle = areasolver.area_right_angle_tri(base, height)
print(area_of_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)
area_of_rhombus = areasolver.area_rhombus(D, d)
print(area_of_rhombus)
area_of_trapezoid = areasolver.area_trapezoid(a, b, height)
print(area_of_trapezoid)
area_of_circle = areasolver.area_circle(r)
print(area_of_circle)