lkumar209 / graphingcalculator Goto Github PK
View Code? Open in Web Editor NEWWe thought that graphing applications such as Desmos were not as open sourced as they should be for such an essential application to many and we also thought that graphing calculators and the internet may not be available all the time, so it would be really convenient to have all these graphing utilities built into an application. Only made using java and nothing else. 700 Lines of Code, High Schoolers from Monta Vista( 11th graders) in Silicon Valley. You can enter any different type of equation and the application is able to graph it properly and you can zoom and pan in on the axes, we had to redefine PEMDAS(Parenthesis, Exponents, Multiplication, Division, Addition, Subtraction) in order to account for edge cases that didn't graph properly with normal math functions such as -(x)^2 in comparison to (-x)^2 which gives two completely different answers, and need to get accounted for. We took apart the equations using splitting methods and then we organized them into 2d arrays in order to be plotted on axes that used logarithms and rounding to get the proper value on the axes during zooms and pans. We have a zoom factor and the numbers scale with the amount of zoom! Obviously, there is a lot more to it, so please do take a look at the code :) What's next for Graphing Equation Calculator, We HAD to open source this project since we are committed to making it a lot better and adding more functions.