Skip to main content

A Python package that simplifies calculations.

Project description

extramaths

A Python package that simplifies calculations.

Go to https://pypi.org/project/extramaths/ to install the package.

Upload Python 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 others
value1, value2 = other.quadratic(a, b, c)

print(value1)
print(value2)

For Areas of 2D Shapes

from extramaths import area

Square

area_of_square = area.square(length)

print(area_of_square)

Rectangle

area_of_rectangle = area.rectangle(height, width)

print(area_of_rectangle)

Right-Angled Triangle

area_of_right_angled_triangle = area.right_angle_triangle(base, height)

print(area_of_right_angled_triangle)

Non Right-Angled Triangle

area_of_non_right_angled_triangle = area.triangle(a, b, C)

print(area_of_non_right_angled_triangle)

Rhombus

area_of_rhombus = area.rhombus(D, d)

print(area_of_rhombus)

Trapezoid

area_of_trapezoid = area.trapezoid(a, b, height)

print(area_of_trapezoid)

Circle

area_of_circle = area.circle(r)

print(area_of_circle)

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

extramaths-0.2.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

extramaths-0.2.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file extramaths-0.2.0.tar.gz.

File metadata

  • Download URL: extramaths-0.2.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for extramaths-0.2.0.tar.gz
Algorithm Hash digest
SHA256 57d5ec73790b02e02a0ab387dfc94defb8cc4d3df9065ba9f837f42966c82960
MD5 b68f5e04895006d554092422f60c589f
BLAKE2b-256 045a5614e37adddfe109b9c1129b2c46ade8daf4894ab9ada073bf57925c1ef2

See more details on using hashes here.

File details

Details for the file extramaths-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: extramaths-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for extramaths-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e72408635b8d89af2742ee6011bdb62e7641a7818700a04d6f98d7ca03624aba
MD5 7eabaf3fe587b97ea774d866c6302c69
BLAKE2b-256 fd31985b4242e935900179a63aad86534b6ce8a4b7c2f3eeb13ab6c0d4c709d2

See more details on using hashes here.

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