Hello there! :)
How should i solve for x in this equation:
p*e^-x + q*sin(x) + r*cos(x) + s*tan(x) + t*x^2 + u = 0
with the user to input the values of p,q,r,s,t and u.
i'm thinking of looping from 0.0001 until i-dont-know-what
and then testing each value of x that will satisfy the equation.
but i dont think that's very efficient... especially if the given p,q,r,s,t and u values would yield to no possible value of x...
Post for this prob is right here:
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=113&page=show_problem&problem=1282