MathKit - A Mathematical Library Made Simple
MathKit is a Python library that provides various mathematical functions and utilities for performing common mathematical calculations.
New updated calculator usage for simpler functions
from mathkit import main
main()
Example Usage If you decide to predefine numbers
import mathkit
# If you dont want to add mathkit. before all function you can import the specific function by
# from mathkit import add
# add(5,3)
# You can do this with all the functions
mathkit.add(5, 3) # Output: Your answer is 8
mathkit.cbrt(27) # Output: The cube root of 27 is 3.0
mathkit.div(10, 2) # Output: Your answer is 5.0
mathkit.fact(5) # Output: The factorial of 5 is 120
mathkit.hcf(24, 36) # Output: The H.C.F. of 24 and 36 is 12
mathkit.lcm(12, 18) # Output: The LCM of 12 and 18 is 36
mathkit.log(100) # Output: Logarithm of 100 (base e) is 4.605...
mathkit.mod(10, 3) # Output: Your answer is 1
mathkit.mul(4, 5) # Output: Product = 20
mathkit.per(50, 10) # Output: 10 percent of 50 is 5
mathkit.power(2, 3) # Output: The answer is: 8
mathkit.sqrt(25) # Output: Square root of 25 is 5.0
mathkit.sqr(4) # Output: The square of 4 is 16
mathkit.sub(8, 3) # Output: Your answer is 5
mathkit.compound_interest(amount,time,interest) # Output Based On predefines numbers
mathkit.simple_interest(amount,time,interest)
Please Note For the simple and compound interest to work you have to specify the order numbers exactly in the format given
For more information, please visit the GitHub repository.
Release files for mathkit 4.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mathkit-4.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / mathkit-4.2.3-py3-none-any.whl
| Download URL | mathkit-4.2.3-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
903c07993636b1fe475b6dae5353cbcd6bf5d859d3902059b80cb25ca8e3966b
|
|
BLAKE2b-256 checksum How to use checksums |
2897c15561018751cbd5e5cf9ef233d614391590e8ea40727fc9dd9088779ab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.0
|