Skip to main content

A library that includes missing constants from original built-in math library, like phi or gamma. Fun fact: you can insert a 3D figure to a cylinder block and you can get a 4D figure volume, like a tesseract

Project description

How to use the mathv2 module:

  1. You can use more constants like phi, rho(plastic constant), epsilon and more.
  2. If you enter prefix mathv2.area_, you can find area of a square, circle and more
  3. If you enter prefix mathv2.vol_, you can find volume of a prism, cube and more

*Fun fact: Enter a volume of a cube into the base area of a prism block like that:

mathv2.vol_prism(mathv2.vol_cube(3, 3, 3), 5)

It will find a volume for a 4D tesseract*

How to use "area_polygon(perimeter, apothem)"?

  1. Perimeter is the length times sides, so for a square it will be side length(e.g. 10) x number of sides(4), so perimeter will be 40.

  2. Apothem is a line that ends at the midpoint of side. You can imagine a pentagon and a red line that goes from the center to the half of the side. If the line and a side make a 90 degree angle, it's an apothem To check if the line is an apothem take a protractor and if the apothem and the side make a 90 degree angle, it's an apothem. Apothem is side / 2. In our case the apothem of a square, as mentioned earlier, is 5, because 10 / 2 = 5

So enter a valid perimeter and apothem and it will give the area

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

mathv2-1.0.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mathv2-1.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file mathv2-1.0.2.tar.gz.

File metadata

  • Download URL: mathv2-1.0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mathv2-1.0.2.tar.gz
Algorithm Hash digest
SHA256 96efa2ff3dce9ff0865768723603f966911e58dba0485aee1028e01644e37f61
MD5 176ee096e565754c0ed158d90566d331
BLAKE2b-256 9ad018694ebe946dac33613d51df91fa0968f9d96efa59ef1d30cee8f59f8e75

See more details on using hashes here.

File details

Details for the file mathv2-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: mathv2-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mathv2-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f8a6ae215600255d8257765125d1a7645031ed95f61966f9bbd27dba2cee17fe
MD5 6c04c450748910861136d2640fe552cf
BLAKE2b-256 79cb8c69d0dbe48e118eb0d66a85f4ce74ca7d5a38783964e0bcd7686dc7e8c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page