Block Calc v1.4

by jjvan
  scripts
  sprites
See inside
Instructions

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!

Notes and Credits

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.

Shared: 28 Jul 2015 Modified: 27 Apr 2016
Favorite this project 18
Love this project 25
Total views 362
View the remix tree  1
  
More projects by jjvan