Loganmatic package
Project description
Loganmatic
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.16.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file loganmatic-0.0.16.tar.gz
.
File metadata
- Download URL: loganmatic-0.0.16.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6875f61510e5d052aec9132a0614c7875b659b304852f5371717ab7035040145 |
|
MD5 | a8353ff8e711535323c26dba8e05364b |
|
BLAKE2b-256 | 9cd6535ecece0a553fd445a058fe9798460fd5af610996f86a58787539efcae3 |
File details
Details for the file loganmatic-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: loganmatic-0.0.16-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1040514c40bb632cb2ff84a7438d73fc0788e4c29a58e04fa7b823f9abf1bfa1 |
|
MD5 | 2a6b6b24877ad76cd2798b3f7c3daa8d |
|
BLAKE2b-256 | adfc7874fac6f3760c79ff1a82ef93980abd391ef2731079d68566a899e114d5 |