Block Calc v1.4
Type in an expression (like 1+1 or abs(2-4)). #1, #2, #3, or #4 are preset formulas. Order of operations: +, -, *, /, ^, ( ), [ ], &, |, e, pi, %(mod), =, >, <, not, sin, cos, tan, asin, acos, atan, sqrt, abs, log, ln, floor, ceiling, round. Type "ans" to substitute in the previous answer.
Type 5->A to set a variable.
Have fun and remember to press Love-it!
This is an expression evaluator that I wrote using only 1 custom block. To use it on one of your projects, use the backpack to transfer the block to your project. NOTE: This project uses a hacked
[(sqrt) of (9)] block to be more compact.
Give suggestions for more operators and demos.
Credit to @DadOfMrLog for the x^y formula.
Credit to @djpro for the pen text engine.