Hi I'm a beginner in C++. I'm looking out to read a polynomial expression and do differentiation to the same expression. Is it possible doing it.
For Example: let f=x^2+2*x+1 be expression to be read.
Please help me out in doing this.
read it in as a string
http://www.cplusplus.com/forum/beginner/397/
then you'll have to do some parsing on that string.
or ask the user to input coefficient of the first term (the x^2), coefficient of the second term (x) and the third time.
something like that.
Last edited on
Thank you for shedding light on my problem.
Thank you a lot!!!!!