Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 29 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,66 @@
# HEM Calculator

A **Graphical User Interface (GUI)** calculator application built with Python's `tkinter` library.
This calculator supports both basic arithmetic operations and advanced functions like square root, power, percentage, and binary/decimal conversions.
This was for a group coursework academic and educational project.
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
## 🚀 Tech Stack
![Build Status](https://img.shields.io/badge/build-passing-brightgreen)
![License](https://img.shields.io/badge/license-MIT-blue)
![Python](https://img.shields.io/badge/Python-3.9+-blue)
![Tkinter](https://img.shields.io/badge/Tkinter-8.6+-blue)

## Features
## Features

- **Basic Operations:**
### Basic Operations:
- Addition (`+`)
- Subtraction (`-`)
- Multiplication (`*`)
- Division (`/`)
- Decimal support

- **Advanced Functions:**
- Square Root (``)
### Advanced Functions:
- Square Root (`sqrt()`)
- Exponentiation (`x^y`)
- Percentage (`%`)
- Binary to Decimal & Decimal to Binary Conversion
- 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

## Installation
### Conversion tools
- Binary → Decimal
- Decimal → Binary

## 📥 Installation

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

## Usage
## 🖥️ 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
## 📦 Dependencies
- Python 3.x
- tkinter (standard Python library for GUI development)

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

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