Please tell me how to do this.
Use Newton's method to find the absolute maximum value of the function f(x) = xcos(x), 0 ≤ x ≤ , correct to six decimal places.
anyway, here goes. i'll start you off.
so remember, for the absolute max, we want to find the largest value for the function on the interval we are considering. now this value may occur at the endpoints, or it may occur at a local maximum within the interval, so let's check those.
(1) check the value of the function at the end points
(2) check the value of the function at the critical points
for the critical points, set
now this is relatively hard to solve, here is where we will need Newton's method, to find the critical point.
recall that Newton's method says that if we are given an approximation for the zero of a function, we can get a better approximation by way of the formula:
now, take your first guess to be 1. thus you have
so you will find the second approximation, , by:
now calculate . when you get , plug it in for in (1) to get the third approximation , that is, find:
continue to do this until you realize that your value for has the first 6 decimal places constant. then take that to be the critical point. then, calculate the value of the function at that point. then pick the absolute max.
(note, think of to be in radians)