Share your repls and programming experiences

← Back to all posts
Calculator - Supports all Mathematical Functions!
CodingElf66

Calculator - Supports all Mathematical Functions!

Intro

This is a calculator project that I made (I coded this in Python), but also including all mathematical functions! This calculator is meant for you to use for fun, learning, and more! So click the "Run" button, and now you have a free online calculator!

What It Includes

This calculator includes the functions listed below:

FunctionParametersReturns
Adda, ba + b
Subtracta, ba - b
Multiplya, ba × b
Dividea, ba / b
Exponenta, ba ^ b
Square Roota, b√a
Factorialaa!
Percentaa%
Sinea, modesin(a) (mode is "Radians" or "Degrees")
Cosinea, modecos(a) (mode is "Radians" or "Degrees")
Tangenta, modetan(a) (mode is "Radians" or "Degrees")
Logarithma, blog(a,b)

Note: For the Sine, Cosine, Tangent part, the Mode is for the output. You can type "Radians" or "Degrees".

How To Use It

You should see a whole number-listed option. Then, choose your option by entering the corresponding number. Above, there is a whole list of what it returns (a and b will be your inputs). If you are using any geometric functions (sine, cosine, tangent), make sure you read the note above to see what to type at "Mode:".

Closing

If you have any questions, concerns, compliments, etc. that you want to share below, please feel free to (don't spam)! Good luck, and have fun with your new online calculator!

Voters
CodingElf66
UltimatePython
Comments
hotnewtop
MrVoo

Not bad, maybe make it loop, and add some color (without imports). Also, you spelled "exponent" wrong

CodingElf66

@MrVoo Oh ok lol I'll fix that, didn't notice

CodingElf66

@MrVoo Fixed!

MrVoo
CodingElf66

@MrVoo Thx