This is an advanced calculator application that can perform a variety of mathematical operations. Below is a list of features and instructions on how to use the application.
The calculator can perform the following operations:
- Addition
- Subtraction
- Multiplication
- Division
- Square
- Cube
- Square root
- Cube root
- Factorial
- Exponential
- Logarithm
- Trigonometry
- Inverse Trigonometry
- Permutation
- Combination
- GCD
- LCM
- Pretty Print
- History
- Exit
- Help
- Addition: Enter two numbers to get their sum.
- Subtraction: Enter two numbers to get their difference.
- Multiplication: Enter two numbers to get their product.
- Division: Enter two numbers to get their quotient.
- Square: Enter a number to get its square.
- Cube: Enter a number to get its cube.
- Square root: Enter a number to get its square root.
- Cube root: Enter a number to get its cube root.
- Factorial: Enter a number to get its factorial.
- Exponential: Enter a number to get its exponential value.
- Logarithm: Enter a number and a base to get the logarithm.
- Trigonometry: Choose between sin, cos, and tan functions and enter an angle in degrees.
- Inverse Trigonometry: Choose between asin, acos, and atan functions and enter a value.
- Permutation: Enter values for n and r to get the permutation.
- Combination: Enter values for n and r to get the combination.
- GCD: Enter two numbers to get their greatest common divisor.
- LCM: Enter two numbers to get their least common multiple.
- Pretty Print: Pretty print the history of operations.
- History: View the history of all operations performed.
- Exit: Exit the application.
- Help: Display the help menu.
To run the application, execute the following command in your terminal:
python calculator.pyFollow the on-screen instructions to perform various operations.
- Python 3.x
prettytablelibrary
Install the dependencies using pip:
pip install prettytablePersonal Project.
Namana Aarzoo