Scientific Calculator

Scientific Calculator

Scientific Calculator

Result:

Operations Supported:

✅ Basic Arithmetic: +, -, *, / (e.g., 5 + 3 * 2)
✅ Parentheses for order of operations: (5 + 3) * 2
✅ Exponents using **: 5 ** 2 (for 5²)
✅ Square Roots: Math.sqrt(25)
✅ Trigonometric Functions: Math.sin(45), Math.cos(0), Math.tan(30)
✅ Logarithms: Math.log(10), Math.log10(1000)
✅ Constants: Math.PI, Math.E

However, since eval() executes input directly, users must type functions correctly (e.g., Math.sin(45), not just sin(45))