(this project was inspired by mathway.com) PLEASE READ BEFORE USING as of 11/10/2023 you can do very simple math equations like 1 x 1 you can use x * / + - ^ " (value without parenthesis) as a fraction " it can also detect exponents correctly as well you can also create functions example initializing; f(x) = x + 1 c(x) = x ^ 2 + 5 / 6 g (x) = x * 2 example of using after initiation, f(10) c(8) g(0) --------------- unlike most calculators on scratch, this one allows you to use as many operations as you want ex; 1 + 1 * 2 / 4 + 5 // is a acceptable equation. the hardest part of coding this was making it use the order of operations correctly. it would take 1 + 1 * 2 and read it as 1 + 1 and 2 * 2 but now it picks apart the things it needs to do first, later ill add parenthesis locators to detect if it needs a specific thing done first. --------------- new! you can now use the parameters - (number) as a fraction and it will take the number and turn it into a simplified fraction. --------------- commands ;; you can use "clear" to clear the entire panel without having to restart the project and lose all your pre initialized stuff. use plot (x), (y) to plot a point on the graph provided to you. so far i cant make the graph view bigger. use clean graph to erase all plots on the graph ( don't mind the dot in the middle) ----------------- other when useing the ^ operation you still have to use spacing, for example 2^6 wont work but 2 ^ 6 will work
i developed this at age 13 so don't expect it to be the best. later i might make some more functions that resemble Math way's actual experience. this project is inspired my Mathway.com so sometimes i think that 0 stands for infinity, like if you say "what is a + b ? " you would get something like this a + b = 0 probably because it cant count strings as integers and therefor can legally assign a value to "a" or "b"