Loganmatic package
Project description
Example usage of the Calculator class
!! PYTHON !!
Docs
https://gabriel-logan.github.io/Math_Lib/python
To use as a PIP package, simply use
pip install loganmatic
Then, you can use it as follows:
from loganmatic import loganmatic
Example usage of the Calculator class
# Import the Calculator class from the loganmatic module
from loganmatic import loganmatic
print("Pi value", loganmatic.Pi)
print("Euler value", loganmatic.EulerNumber)
print("Absolute value", loganmatic.absoluteValue(-5))
print("Factorial", loganmatic.factorial(5))
print("Square root", loganmatic.squareRoot(25))
print("Cubic root", loganmatic.cubicRoot(27))
print("Factors", loganmatic.factor(12))
print("Sine", loganmatic.sine(0.5))
print("Cosine", loganmatic.cosine(0.5))
print("Random number", loganmatic.random_number_between(1, 10))
print("Root of linear equation", loganmatic.root_of_first_degree(2, 4))
print("Roots of quadratic equation", loganmatic.root_of_second_degree(1, -3, 2))
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
loganmatic-0.0.15.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for loganmatic-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86a53b720857cd89b91f55635e4fc663aa2a51b1007f0b7698c96787706e6a75 |
|
MD5 | b781673828c567781d0f881278b156bf |
|
BLAKE2b-256 | 5ad5dc2126cb087fb61bbd70a5395796f7d8eb4e33e6d8142716d19ae932eb4d |