This is a comprehensive calculator program that supports arithmetic operations, trigonometric functions, matrix operations, and number conversions. The program is designed to handle multiple mathematical tasks interactively through a command-line interface.
- Addition
- Subtraction
- Multiplication
- Division
- Power
- Square Root
- Factorial
- Percentage Calculation
- Sine (sin)
- Cosine (cos)
- Tangent (tan)
- Cosecant (cosec)
- Secant (sec)
- Cotangent (cot)
- Inverse Sine (asin)
- Inverse Cosine (acos)
- Inverse Tangent (atan)
- Matrix Addition
- Matrix Subtraction
- Matrix Multiplication
- Decimal to Binary
- Decimal to Octal
- Decimal to Hexadecimal
- Binary to Decimal
- Octal to Decimal
- Hexadecimal to Decimal
To run the program, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/Calculator-Project.git
-
Navigate to the project directory:
cd Calculator-Project -
Compile the program:
g++ -o calculator main.cpp
-
Run the program:
./calculator