ScratchData LogoScratchData
Back to kfp2's profile

Math Expression Calculator!

KFkfp2•Created June 6, 2025
Math Expression Calculator!
1
1
3 views
View on Scratch

Instructions

This is the second calculator in the Equation Visualizer And Solver (EVAS) series. Enter any mathematical expression into this calculator and it will solve it! (An expression is a fancy name for an equation without an equals sign) SEE BELOW FOR WHAT THE CALCULATOR CAN DO! Digits: 0,2,3,4,5,6,7,8,9,. -> numbers Operators: - + (addition) -> add two numbers - - (subtraction) -> subtract two numbers or denote negative numbers - * (multiplication) -> multiply two numbers - / (division) -> divide the first number by the second number - ^ (exponentiation) -> multiply the first number by itself a number of times denoted by the second number - () (parenthesis) -> wrap around a part of the expression to make the calculator solve that part first Functions --- require parenthesis, e.g. sqrt(4) - sqrt (square root) -> determine what number squared gives the number in the parenthesis - sin, cos, tan -> trigonometric functions that use degrees - asian, acos, atan -> inverse trigonometric functions that output degrees - ceil (ceiling) -> round the number up - floor (floor) -> round the number down - rnd (round) -> round the number to the nearest integer - abs (absolute value) -> turn the number positive if it's negative Constants: - pi (π) -> the circle constant (3.14159...) - e (Euler's number) -> the natural constant (2.71828...) Function Operators --- require parenthesis on both inputs - mod (modulo) -> get the remainder of the first number divided by the second number - concat (concatenation) -> append the second number's digits to the first number's digits

Description

Inspired by @Hotdawg_Coder 's Calculator project: https://scratch.mit.edu/projects/1184714115 If you find any bugs or have any suggestions, please let me know in the comments! If you think you found a bug, please include the expression you input and the answer in your comment. There is a chance that you wrote your expression in an ambiguous way.

Project Details

Project ID1185731635
CreatedJune 6, 2025
Last ModifiedJune 12, 2025
SharedJune 11, 2025
Visibilityvisible
CommentsAllowed