Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,3 +10,33 @@ pinned: false
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
+
# Scientific Calculator
|
| 14 |
+
|
| 15 |
+
This is a scientific calculator built with Gradio and FastAPI. It provides a user-friendly interface for performing various mathematical operations, including basic arithmetic and advanced functions like trigonometry and logarithms.
|
| 16 |
+
|
| 17 |
+
## Features
|
| 18 |
+
|
| 19 |
+
- Basic arithmetic operations: addition, subtraction, multiplication, division
|
| 20 |
+
- Advanced functions: sin, cos, tan, log, ln, sqrt
|
| 21 |
+
- Constants: π (pi) and e
|
| 22 |
+
- Calculation history
|
| 23 |
+
- Error handling for invalid expressions
|
| 24 |
+
|
| 25 |
+
## How to Use
|
| 26 |
+
|
| 27 |
+
1. Enter your mathematical expression using the buttons or by typing directly into the display field.
|
| 28 |
+
2. Press the "=" button or hit Enter to calculate the result.
|
| 29 |
+
3. The result will be displayed in the large result field.
|
| 30 |
+
4. The last 5 calculations will be shown in the history section.
|
| 31 |
+
|
| 32 |
+
## Running the App
|
| 33 |
+
|
| 34 |
+
This app is designed to run on Hugging Face Spaces. Simply clone this space and it will automatically deploy and run the application.
|
| 35 |
+
|
| 36 |
+
## Dependencies
|
| 37 |
+
|
| 38 |
+
- gradio
|
| 39 |
+
- fastapi
|
| 40 |
+
- pydantic
|
| 41 |
+
|
| 42 |
+
Enjoy calculating!
|