Skip to content

Latest commit

 

History

History
85 lines (61 loc) · 3.13 KB

File metadata and controls

85 lines (61 loc) · 3.13 KB

🧮 Scientific Calculator with Graph Plotting

This is a Python-based Scientific Calculator with a modern Tkinter GUI, supporting both basic and advanced operations including trigonometric functions, logarithms, powers, factorials, and equation plotting.

Screenshots of the Project :-

Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 4
Screenshot 5 Screenshot 6
Screenshot 7 Screenshot 8

✨ Features

  • Basic Arithmetic: +, -, ×, ÷
  • Advanced Functions: sin, cos, tan, log, ln, , , x!, 1/x, %
  • Constants: π, e
  • Power and Root Operations
  • Factorials and Percentages
  • Custom Expression Evaluation
  • Graph Plotting for equations with variable x

🛠️ Technologies Used

  • Python 3.13
  • Tkinter for GUI
  • NumPy and Matplotlib for scientific computation and graph plotting

📁 Project Structure

scientific-calculator/ 
  ├── main.py 
  ├── ui.py 
  ├── functions.py 
  ├── graph.py 
  ├── README.md

🚀 How to Run

1. Clone the Repository

git clone https://github.com/pratik0620/Scientific-Calculator-with-Graph-Plotting.git
cd scientific-calculator

2. Install Dependencies

pip install numpy matplotlib

3. Run the Application

python main.py

📈 Graphing Feature

Enter an equation involving x (e.g., sin(x), x^2 + 2*x + 1) and click the Graph button. A Matplotlib window will display the graph over the range -10 to 10.


⚠️ Input Guidelines

  • Use ^ for powers (e.g., x^2)
  • Use π or e for constants
  • Trigonometric inputs are in degrees
  • Use ! for factorial, % for percentage

🙋‍♂️ Author

Pratik Morkar