Stoa Calculator is a powerful calculator that have everything you need to do any kind of calculations!
Project description
Stoa Calculator
Stoa Calculator is a powerful calculator that have everything you need to do any kind of calculations!
This calculator can do from basic aritmethic to advanced calculus, we will be releasing more updates and adding more features, our goal is to make this calculator the most powerful calculator ever to exist.
Installation
Windows:
python3 -m pip install stoacalculator
Usage example
We can use Stoa Calculator in many ways, one of the best ways is to use it for trigonometry and calculus.
import stoacalculator
# Basic Aritmethic
stoacalculator.add_numbers(1,2)
stoacalculator.substract_numbers(1,2)
stoacalculator.multiply_numbers(1,2)
stoacalculator.divide_numbers(1,2)
stoacalculator.pow_numbers(1,2)
stoacalculator.sqr_root(1,2)
# Trigonometry
stoacalculator.sin(4)
stoacalculator.cos(4)
stoacalculator.tan(4)
stoacalculator.asin(4)
stoacalculator.acos(4)
stoacalculator.atan(4)
# Basic Geometry
stoacalculator.areacircle(25)
stoacalculator.areatriangle(25,10,30)
stoacalculator.areasquare(50,10)
stoacalculator.arearectangle(25,10)
# Basic Statistics
stoacalculator.mean(list)
stoacalculator.mode(list)
stoacalculator.median(list)
# Plotting
import numpy as np
# We recommend to always use 100 linearly spaced numbers
x = np.linspace(-5, 5, 100)
# For trigonometry we recommend to use this configuration
x = np.linspace(-np.pi,np.pi,100)
# Example of formulas
linearformula = 2*x
quadraticformula = 1*x+x**2
cubicformula = 6*x+x**3
trigonometricformula = np.sin(x)
exponentialformula = np.exp(x)
# Usage of formulas
stoacalculator.linearplot(x, linearformula)
stoacalculator.quadraticplot(x, quadraticformula)
stoacalculator.cubicplot(x, cubicformula)
stoacalculator.trigonometricplot(x, trigonometricformula)
stoacalculator.exponentialplot(x, exponentialformula)
stoacalculator.biplot(x, trigonometricformula, exponentialformula)
#Derivatives & Integrals
from sympy import *
import numpy as np
# We have to make a constant a symbol
x = Symbol('x')
# Now the usage of this module
stoacalculator.derivatives(sin(x)+exp(x)*log(x))
stoacalculator.integrals(sin(x)+exp(x)*log(x))
For more examples and usage, please refer to the Wiki.
Development setup
You'll only need for now the matlibplot, numpy, sympy, math and statistic modules from python, this program already import all those modules. So you won't need to import them in your code.
pip install matplotlib
pip install numpy
pip install sympy
Release History
- 0.1.3 (21/12/21)
- Thirteenth Release
Performance improvements & bug fixes
- Thirteenth Release
- 0.1.2 (13/08/21)
- Twelfth Release
Performance improvements & bug fixes
- Twelfth Release
- 0.1.1 (13/08/21)
- Eleventh Release
Performance improvements & bug fixes
- Eleventh Release
- 0.1.0 (13/08/21)
- Tenth Release
(Derivatives & Integrals)
- Tenth Release
- 0.0.9 (13/08/21)
- Ninth Release
(Plotting Calculator from Linear to Exponential Equations)
- Ninth Release
- 0.0.8 (13/08/21)
- Eighth Release
Fixed some typos on the script
- Eighth Release
- 0.0.7 (13/08/21)
- Seventh Release
Performance improvements & bug fixes
- Seventh Release
- 0.0.6 (13/08/21)
- Sixth Release
(Basic Statistics (Mean, Mode, Median))
- Sixth Release
- 0.0.5 (13/08/21)
- Fifth Release
(Basic Geometry (Area of basic shapes))
- Fifth Release
- 0.0.4 (13/08/21)
- Fourth Release
(Trigonometric Functions)
- Fourth Release
- 0.0.3 (12/08/21)
- Third Release
(Square Root)
- Third Release
- 0.0.2 (27/03/21)
- Second Release
(Powers/Exponents)
- Second Release
- 0.0.1 (27/03/21)
- First Release
(Addition, Substraction, Multiplication, Division)
- First Release
Meta
Jorge Eldis ~ @jorgeeldis ~ jorgeeldisg30@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/jorgeeldis/
Contributing
- Fork it (https://github.com/jorgeeldis/StoaCalculator/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
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.