Basic math functions
Project description
This is a library with basic math functions, including adding two numbers, getting the value of pi, converting fahrenheit to celsius, converting celsius to fahrenheit, and much more!
Install via pip
pip install basicmathfunctions
Functions
add_two_numbers(number1, number2)
- Add two numbers
subtract_two_numbers(number1, number2)
- Subtract two numbers
multiply_two_numbers(number1, number2)
- Multiply two numbers
divide_two_numbers(number1, number2)
- Divide two numbers
pi()
- Get value of pi (to 4 decimal places)
the_power_of(number, power)
- Get a number to the power of another number
sqrt(number)
- Get the square root of a number
f_to_c(temperature)
- Convert fahrenheit to celsius
c_to_f(temperature)
- Convert celsius to fahrenheit
Change Log
0.0.1 (4/28/2021)
- First Release
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
File details
Details for the file basicmathfunctions-0.0.58.tar.gz
.
File metadata
- Download URL: basicmathfunctions-0.0.58.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b9360e73a360894b97d9cfc153988eacc2d14088c30d50ebe186ceff079f0a |
|
MD5 | d8e88d5125d435892f5904e6d15a4d65 |
|
BLAKE2b-256 | 92c86c90b2110c3c5ee39143558bdeb5e1503e7a10aa80b3004bc0f9e6785cc8 |