Mathematical Calculator
Table of Contents
Features
- Basic arithmetic operations: addition, subtraction, multiplication, and division
- Advanced mathematical functions: trigonometric, Inverse of trigonometric, logarithmic, exponential, radical
- Factorial, Permutation, and Combination calculations
- User-friendly command-line interface
- operations performed by this application
("1. Factorial");
(2. Permutation");
("3. Combination");
("4. Length Converter");
("5. Area Converter");
("6. Volume Converter");
("7. Mass Converter");
("8. Temprature Converter");
("9. Time Converter");
("10. Speed Converter");
("11. Angle Converter");
("12. addition");
("13. subtraction");
("14. multiplication");
("15. division");
("16. body mass index");
("17. rectangle area");
("18. square area");
("19. circle area");
("20. perimeter of rectangle");
("21. perimeter of square");
("22. circumference of circle");
("23. Trigonometric");
("24. Median");
("25. Area of Triangle");
("26. perimeter of tringle");
...
Prerequisites
- jdk
- java editor
Steps
- Clone the repository:
git clone https://github.com/samuel-zeray/Test-Driven-Calculator-in-java.git
- Navigate to the project directory:
cd calculator.java
Usage
To start the calculator, run:
calculator.java
Examples
Basic Arithmetic
2 + 2
4
5 * 6
30
Advanced Functions
sin(45)
0.7071
log(100, 10)
2
Contributing
We welcome contributions to improve the Full Mathematical Calculator. Here are some ways you can help:
- Report bugs: If you encounter any issues, please report them in the Issues section.
- Submit feature requests: If you have ideas for new features, let us know!
-
Pull requests: If you'd like to contribute code, please fork the repository and submit a pull request.
For major changes, please open an issue first
to discuss what you would like to change.
Steps to Contribute
- Fork the repository.
- Create a new branch: git checkout -b feature-branch
- Make your changes.
- Commit your changes: git commit -m 'Add some feature'
- Push to the branch: git push origin feature-branch
- Open a pull request.
Please make sure to update tests as appropriate.
License
MIT