TURBO MODE RECCOMMENDED Some time ago, I published a graphing calculator based on @Paddle2See 's Calculator with Functions (see https://scratch.mit.edu/projects/901851231/). I've now decided to re-edit that project, adding loads more functionality by starting from scratch. NOTE: This has been recently updated to add equation functionality. Please mind me for any problems it may cause. HOW TO USE THIS CALCULATOR: • Press F to enter a function to be graphed • Press E to enter an equation to be graphed • Press the up and down arrows to zoom in and out • Drag the background around to move around • Press G to toggle grid • Press P to reset pan • Press Z to reset zoom • Press R to reset view (pan, zoom and grid) HOW MAY A FUNCTION BE (so that this works) ? The function has to be written in normal Infix notation (e.g. 2x+1). The grapher accepts the following operators, functions and constants: + (addition) - (subtraction) * (multiplication) / (division) ^ (exponentiation) ( and ) (parentheses, although not an operator or function) sqrt (square root) abs (absolute value) sin (sine) cos (cosine) tan (tangent) asin (arcsine) acos (arccosine) atan (arctangent) p (pi) e (Euler's number) Implicit multiplication, between a number and a variable or function, is accepted (e.g. you can write 2x instead of 2*x). Function arguments must be included inside parentheses (e.g. sin(x)). Spacing does not matter (x * 3 will result in the same function as x*3). HOW MAY AN EQUATION BE (so that this works) ? There are more restrictions to equation than there are to functions. Equations must be linear (no special functions or exponents), but may contain parentheses and all the basic operators above. There must only be one y present in the whole of the equation, additionally. NOTE: Technically, this graphing calculator can't graph any equation; if you want to graph an equation other than a linear one, please convert it into a function before using the calculator. PAST UPDATES: v 1.0 - Initial release v 1.1 - Description update with square root and view reset shortcuts added v 1.1.1 - Fixed bug affecting f(x) = -x v 1.1.2 - Fixed same bug, but affecting f(x) = +x v 2.0 - Added equation support v 2.0.1 - Fixed bug affecting x+y=1 v 2.0.2 - Fixed bug affecting equations of the form nx+my=k v 2.1 - Supported radicals in the form of fractionary exponents (only for positive values of x); added constants (pi and e). FUTURE UPDATES: Odd radicals support for negative values of x Exponentiation support in equations Support for more than one y in equations Special points calculated Support for more than one equation or function at once Mobile device support NOTE: If the project is lagging, use TurboWarp (https://turbowarp.org/1140149799) THANKS TO https://medium.com/free-code-camp/how-to-build-a-math-expression-tokenizer-using-javascript-3638d4e5fbe9 for the inspiration on how to tokenize the expression (code modified and passed into Scratch by me). Equation to function converter algorithm created by me.