I don't know which initial xsub1 value works best for the problem below, can anyone help me? In other words, how would one start the problem?
Use Newton's method to find the absolute maximum value of the function f(x) = x sin x, 0 ≤ x ≤ pi, correct to six decimal places.
I took the derivative of the function and got sin x+xcosx. Then I took the derivative again and called the new function g(x) and got 2cosx-xsinx.
Thanks for your help and effort