posted 16 years ago
ok,here is my problem i am trying to work on derivative of a linear equation.The equation is of form "A(x^2)+Bx+C".i have written my own method for finding the derivative.But this method finds the output when we give the input value of x,A,B,C.That is 4 values are given as input we get the answer .But know i have to give a linear equation as input,may be equation may vary ie somtimes it can be
1)A(x^2)-Bx+C
2)Ax-B.......and soo on.....my question is which variable and of what data type i should use to take linear equation as input,and how should i split each of the elements of linear equation.
if anybody have some suggestions you are welcome.Thanks in advance.