Skip to content

Arpit-0908/Scientific-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Scientific Calculator 🌟

A React-based Scientific Calculator capable of performing a wide range of mathematical operations, from basic arithmetic to advanced scientific functions, including predefined trigonometric values and a BMI calculator.

Features

🔢 Basic Arithmetic

Addition (+)
Subtraction (-)
Multiplication (×)
Division (÷)
🟰 Modulus (%) (Remainder Calculation)

🧠 Scientific Functions

📌 Trigonometry: sin(x), cos(x), tan(x) (Supports degrees & radians)

  • Predefined Values: Trigonometric values for standard angles such as 0°, 30°, 45°, 60°, and 90°.

📌 Logarithms: log(x) (Base 10), ln(x) (Natural log)
📌 Exponents & Powers: π, e, xⁿ (Power function), 2ⁿ
📌 Factorial: x! (Factorial function)
📌 Square Root: √x
📌 Absolute Value: |x|

Additional Features

Parentheses Support: Solve complex expressions with brackets ().
Sign Toggle: Convert between positive and negative values +/-.
Dynamic UI: Expandable panel for advanced functions.
Error Handling: Displays "Error" for invalid expressions.

💡 New Features

📌 Predefined Trigonometric Values

Quick access to sine, cosine, and tangent values for common angles like 0°, 30°, 45°, 60°, and 90°.

📌 BMI Calculator

  • Calculates Body Mass Index (BMI) using the formula:
  • Returns categories like Underweight, Normal weight, Overweight, and Obesity based on the BMI result.

🎯 Completed Features

🌙 Dark Mode Support
Keyboard Input Support

🛠 Technologies Used

🖥 React → UI Development
🎨 CSSStyling & Animations

✍️ Author

Developed by Arpit Gupta

About

A scientific calculator is an advanced calculator designed for solving mathematical, scientific, and engineering problems. It supports functions beyond basic arithmetic, including trigonometry, logarithms, exponents, complex numbers, and statistical calculations.

Resources

Stars

Watchers

Forks

Contributors