Skip to content

C0ding-Craze/Scientific-calculator-with-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scientific Calculator with GUI

A fully functional Python-based Scientific Calculator with a modern GUI built using Tkinter. Supports standard and scientific operations including trigonometry, logarithms, powers, and square roots.

Output Screenshot


Python Version License


Features

  • Basic arithmetic operations: +, -, *, /
  • Advanced operations: ^ (power), (square root)
  • Trigonometric functions: sin, cos, tan (angle in degrees)
  • Logarithmic functions: log (base 10), ln (natural log)
  • Constant support: π
  • Clear (C) button for resetting input
  • Safe expression evaluation to prevent unsafe code execution
  • Modern, dark-themed GUI with responsive buttons

🛠 Installation

Ensure you have Python 3.x installed. Then, follow these steps:

# Clone the repository
https://github.com/C0ding-Craze/Scientific-calculator-with-GUI.git

Tkinter comes pre-installed with most Python distributions. No additional packages are strictly required.


Usage

Run the calculator with:

python main.py

Once the GUI opens, you can:

  • Enter numbers and operators using the buttons.
  • Perform operations like , ^, sin, cos, tan, log, ln.
  • Press = to evaluate the expression.
  • Press C to clear the input.

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.


About

A modern Python Tkinter-based Scientific Calculator that supports both basic and advanced mathematical operations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages