Calculadora Matematica / Math Calculator
Project description
Calculadora-Fabeliz
Esta es una calculadora que permite hacer operaciones matematicas.
Operaciones basicas: Suma, Resta, Multiplicacion, Division. Otras Operaciones: Valor Absoluto, RaÃz cuadrada, Seno, Coseno Tangente, Cotangente, Logaritmo, Radian.
Autor/Author:
Fabeliz Irene Alvarez Salazar FIAS Tecnologia
Instalation/Instalacion:
pip install calculator-fabeliz
pipenv install calculator-fabeliz
Use/Uso:
Para su uso se debe importar la libreria y crear un objeto como se muestra a continuacion:
from calculadorafabeliz import basicOperations
from calculadorafabeliz import mathOperations
c = basicOperations.calculadora()
print('Valor de la sumatoria: ', c.suma(1, 2, 4))
print('Valor de la sumatoria: ', c.resta(2, 1))
o = mathOperations.otrasoperaciones()
print('Valor del logaritmo: ', o.logaritmo(1))
print('Valor absoluto: ', o.absoluto(-51))
print('Raiz cuadrada: ', o.raizCuadrada(4))
print('Seno: ', o.seno(1))
print('Coseno: ', o.coseno(1))
print('Tangente: ', o.tangente(1))
print('Cotangente: ', o.cotangente(0.5))
print('Hipotenusa: ', o.hipotenusa(3, 4))
print('Radian: ', o.radian(180))
License/Licencia:
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
calculator-fabeliz-0.0.1.tar.gz
(14.7 kB
view hashes)
Built Distribution
Close
Hashes for calculator_fabeliz-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8cc0b9bc32f48dc37bb115abd16ce0750652c779068607e6a903d86e8997496 |
|
MD5 | b91eb556601904bea4f4264f48c5e848 |
|
BLAKE2b-256 | 0c6d8033256ec2a8eee4b1b81d1d8514791bf7be6f5ba15b250a4cafffb2324e |