Skip to content

added scientific calculator#2671

Merged
geekcomputers merged 1 commit intogeekcomputers:masterfrom
LAbhilashKumar:scientific_calci
May 10, 2025
Merged

added scientific calculator#2671
geekcomputers merged 1 commit intogeekcomputers:masterfrom
LAbhilashKumar:scientific_calci

Conversation

@LAbhilashKumar
Copy link
Copy Markdown
Contributor

@LAbhilashKumar LAbhilashKumar commented May 9, 2025

Scientific and Basic Calculator (Python)

This Python program implements both a basic calculator and a scientific calculator. The basic calculator supports standard arithmetic operations like addition, subtraction, multiplication, and division. The scientific calculator, on the other hand, offers a range of advanced features, including:

Pi Calculation: Multiply a number by pi.

Sin: Perform trigonometric calculations with angle conversion from degrees to radians.

Exponentiation: Raise a number to a specific power.

Square Root: Calculate the square root of a number.

Round: Round a number to the nearest integer.

Absolute Value: Get the absolute value of a number.
The program offers an interactive console interface where users can choose between basic and scientific modes
It also includes error handling to ensure smooth execution, even if invalid input is provided

Addresses issue: #1460

@geekcomputers geekcomputers merged commit 1878c00 into geekcomputers:master May 10, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants