Skip to main content

Random extensions

Project description

Math Extensions

Constants

PI: Constant set to 3.14159265

Misc Functions

fact(): Method for getting factorials
mean(x: list): Method for getting mean of list of numbers

Circles and Spheres

circumference(r): Method for getting the circumference of a circle

c_area(r): Method for getting area of a circle
s_area(r): Method for getting area of a sphere

Linear Equations

linequ_get_a(z: string, y): Will return x value required to get y in a linear equation as a float
linequ_get_y(z: string, x): Will return Y value of given equation and x value
linequ_get_b(z: str, y, x): Will return b value of given equation with y and x

Examples

linequ_get_a("2x+3", 11) will return 4.0
linequ_get_a("2x-1", 9) will return 5.0

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

rmextensions-0.0.4.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

rmextensions-0.0.4-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file rmextensions-0.0.4.tar.gz.

File metadata

  • Download URL: rmextensions-0.0.4.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for rmextensions-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ff1de24f83f3400c61a4cd63d9b1261cf4f77de63f70f11c94177dcfcedf46ed
MD5 e7253f96ee2e4e19887fd78cfe2ecd74
BLAKE2b-256 9f24e5ef47b94b0d49f3a9fd476c8423df0654049c761c517f0aeae5a1e88ca6

See more details on using hashes here.

File details

Details for the file rmextensions-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: rmextensions-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for rmextensions-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 af63b9b67b17a9f5c7402dfb7f98d8e49a7fab2d8b957571d0cc4e5b85e10613
MD5 8ee66feb65e8af7ba9f5bfee137b319e
BLAKE2b-256 aec323c40c4e8e508a7273c430a25214091c08ff15481beec739eacff7dd2130

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