hi

what should we do if we take a math function from input like "sin(2x+1)/tan(x^2) " and we want to find the derivative of the functionand the value of the function for a special x (ex. x=2) ....

(we might have sin,cos,tan,cotn,exp,ln,log in the input .and we only have one variable)

i have no idea for solving this problem.:(