https://github.com/soneybun/suncalc
Welcome to SunCalc. This calculator uses Reverse Polish Notation. This is not a calculator used to find sun and moon information. It is called SunCalc because it is a calculator followed before my name, Sunny. More information can be found in the Read Me. Cheers!!
https://github.com/soneybun/suncalc
calculator calculator-application codehs discord discord-server google google-docs intellij intellij-idea java markdown math mathematics maths maths-calculator md pdf pdf-document
Last synced: 4 months ago
JSON representation
Welcome to SunCalc. This calculator uses Reverse Polish Notation. This is not a calculator used to find sun and moon information. It is called SunCalc because it is a calculator followed before my name, Sunny. More information can be found in the Read Me. Cheers!!
- Host: GitHub
- URL: https://github.com/soneybun/suncalc
- Owner: SoneyBun
- Created: 2024-11-03T14:55:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-03T19:37:24.000Z (about 1 year ago)
- Last Synced: 2024-12-03T20:31:07.555Z (about 1 year ago)
- Topics: calculator, calculator-application, codehs, discord, discord-server, google, google-docs, intellij, intellij-idea, java, markdown, math, mathematics, maths, maths-calculator, md, pdf, pdf-document
- Language: Java
- Homepage: https://bit.ly/SunCode
- Size: 427 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚨 REPOSITORY IS OUTDATED AND REPLACED WITH [SUNCALC V3](https://github.com/SoneyBun/SunCalc-V3)
# SunCalc 2
SunCalc is a Reverse Polish Notation (RPN) calculator developed in Java. Unlike standard calculators, it requires operators to be placed after their operands, offering a unique approach to mathematical computations.
## Features
- **Reverse Polish Notation (RPN):** Input expressions where operators follow their operands. For example:
```
2 2 +
```
This yields:
```
2.0 + 2.0 = 4.0
```
- **Comprehensive Function Support:** Includes trigonometric functions, factorials, and a library of irrational numbers.
- **Health Utilities:** Features like BMI Calculator and Height Estimation are accessible by typing `health`.
- **Session Management:** Utilizes `ans` and `ans2` to store previous results for use in subsequent calculations.
- **Exit Functionality:** Type `esc` or `escape` to terminate the program gracefully.
- **Help Feature:** Type `help` in order to get a prompt to join the discord server.
## Getting Started
### Prerequisites
- Ensure you have the Java Development Kit (JDK) installed on your system.
### Installation
1. **Clone the Repository:**
```
git clone https://github.com/SoneyBun/SunCalc.git
```
2. **Navigate to the Directory:**
```
cd SunCalc
```
3. **Compile the Program:**
```
javac Main.java
```
4. **Run the Program:**
```
java Main
```
## Usage
Upon running, SunCalc enters an interactive mode. Input your RPN expressions directly. For example:
```
> 5 3 -
```
This yields:
```
5.0 - 3.0 = 2.0
```
To access health-related features, type:
```
> health
```
To exit the program, type:
```
> esc
```
For help on the calculator, type:
```
> help
```
## Developers
- **SoneyBun:** Lead developer responsible for core functionalities.
- **Skeledan:** Contributor focusing on feature enhancements.
Join our community on Discord for discussions and updates.