Skip to content

markonnn/Python-Calculator-Coursework

 
 

Repository files navigation

HEM Calculator

A Graphical User Interface (GUI) calculator application built with Python's tkinter library. Originally developed for an academic group coursework project. This upgraded version supports a wide range of basic and advanced mathematical functions, error handling, and additional tools such as binary / decimal conversion.

🚀 Tech Stack

Build Status License Python Tkinter

✨ Features

Basic Operations:

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/)
  • Decimal support

Advanced Functions:

  • Square Root (sqrt())
  • Exponentiation (x^y)
  • Percentage (%)
  • Factorial (!)
  • Trigonometric functions (degrees):
    • sin(x) (sin())
    • cos(x) (cos())
    • tan(x) (tan())
  • Logarithmic functions:
    • log₁₀(x) (log())
    • ln(x) (ln())
  • Absolute value (abs())
  • Rounding (round())
  • Constants π, e

Conversion tools

  • Binary → Decimal
  • Decimal → Binary

📥 Installation

  1. Clone the repository:
    git clone https://github.com/morganmdx/randcoursework.git

🖥️ Usage

Once you run the program, a GUI window will appear. You can:

Perform basic arithmetic operations by clicking the respective buttons. Use the advanced features (square root, exponentiation, percentage, and conversions) by clicking on the respective buttons.

📦 Dependencies

  • Python 3.x
  • tkinter (standard Python library for GUI development)

🤝 Contributing

Contributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.

📜 License

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

About

A Graphical User Interface (GUI) calculator application built with Python's tkinter library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%