$f(x,y) = 2\cos x + 3\sin y$ $; R= {(x , y): 0 \leq x \leq 2\pi \\\mbox{and}\\ 0 \leq y \leq \pi} $
I need to find the absolute maximum value and absolute minimum value in the region $R$, and I do have to parametrize the boundary pieces of $R$ to find critical points there.
I tried taking $(x,y) = (r\cos(\theta),r\sin(\theta))$ for $\theta \in [0,2\pi]$ and then I got $h(\theta) = 2\cos(r\cos(\theta))+3\sin(r\sin(\theta))$
After that $h'(\theta)=2r\sin(\theta)\cdot\sin(r\cos(\theta))+3r\cos(\theta)\cdot(\cos(r\sin(\theta))$.
I can't find values of $\theta$ for which $h'(\theta)=0$.
How should I proceed from here?

I tried taking (x,y)=(rcos(θ),rsin(θ))That's the parametrization of a circle, not a rectangle. – dxiv Jun 30 '18 at 00:26