Command line scientific calculator
This is a small project to make a command line Scientific Calculator which can work upon both Real as well as Complex numbers. On compiling, one would be able to provide the expression to be evaluated as the first command line argument. For bracketing, one can use all the three types of brackets i.e. ‘(’ or ‘{’ or ‘[’.
At present, the operators suppported are:
- + for Addition
- - for Subtraction
- * for Multiplication
- / for Division
- + for Unary Plus
- - for Unary Minus
The functions presently supported are:
- sin
- cos
- tan
- log for natural logarithm
- exp for natural exponentiation
- abs for absolute value
- sqrt for calculating square root