Hi

I have a function

$\displaystyle g(x)=(cos \ x + sin \ x - 1)e^{cos x + sin x} \ \ \ \ \ (0 \leq x \leq\pi)$

the derivative being

$\displaystyle g`(x)=(cos^2 \ x - sin^2 \ x)e^{cos x + sin x}$

I'm not sure how to find the turning point within this domain.

Any ideas?