
Rama R. answered 05/16/20
Math Teacher with 3 decades of experience
The first derivative is 1 - sqrt(2)cos(x). Equate to 0 and solve for x. You get cos(x) = 1/sqrt(2). The only solution in [0, Pi] is Pi/4. Plug this x and the end points of the given intervals in the given function. The outputs are 0, Pi/4 - 1, Pi. The min and max values are Pi/4 - 1 and Pi. These are the global extremes.