nims11
BIOS Terminator
I wrote this function plotter for my Csc school project. It takes mathematical function(any function of 'x' containing brackets, basic operators(+,-,/,*,^), trigo functions, log,floor,ceil) from the user in form of a string and then evaluates it and plots it in a graph. My program supports multiple plotting of graph and allows graph manipulation options like increasing precision, zooming in/out and shifting.
i want to share this with you guyz.
The main challenge(which ) of this program was "How do i evaluate a mathematical function from a string without restricting the functions inputted by user" which i solved by writing a header file for string evaluation. it has few minor bugs which i will resolve after my board exams.
please run it and let me know of bugs and features that can be added. Should i upload the code too?(its quite shabby and even i confuse sometimes with it).
i have attached the compiled '.exe'.
to avoid bugs, enclose the unary functions in a bracket. eg . x-sin(x) gives a wrong plot(i still need to figure out why) but writing it as x-(sin(x)) works properly.
Function Plotter
i want to share this with you guyz.
The main challenge(which ) of this program was "How do i evaluate a mathematical function from a string without restricting the functions inputted by user" which i solved by writing a header file for string evaluation. it has few minor bugs which i will resolve after my board exams.
please run it and let me know of bugs and features that can be added. Should i upload the code too?(its quite shabby and even i confuse sometimes with it).
i have attached the compiled '.exe'.
to avoid bugs, enclose the unary functions in a bracket. eg . x-sin(x) gives a wrong plot(i still need to figure out why) but writing it as x-(sin(x)) works properly.
Function Plotter