I am having a difficult time figuring out how to write a script file (non-function) to compute the "Bisection Method" root solution for the function: "f(x)"=x*sin(3*x)+2. given that X_L(first lower boundary)=3, X_U(first upper boundary)=4, Es=0.001,Nmax=4. The two possible conditions for stopping execution are: 1) when "|Xrnew-Xrold|<Es" 2)when "iteration count>Nmax" Clearly indicate which of the two stop execution conditions has been met.
I would greatly appreciate any help, advice or anything at all.Thank you guys so much for your consideration.
Best Answer