at school we are now working with functions and derivates (or how you spell it) and im getting kind of tired to write the same thing the hole time in the calculator and on the paper plus the fact that i need something to program. So i was now trying to do the simple program first to use in the terminal(but then im going to develop it maybe into an applet), but the thing is that i cant find the way to make the user to input the functions both letters and numbers in an easy way to let me then work with them. so my question is...
how can i make it possible to like write 2x^2+3x-1 and then make it possible for me(through the program) to separate all the parts.. and the rest i can figure out. but just how you would have solve the problem of input.
sorry didnt write that the language im using is JAVA...thats kind of vital to know ;)
dont want the code just how you would solve the problem of inputing