\documentclass[a4paper,12pt]{article}
\newcommand\ds{\displaystyle}
\begin{document}

\parindent=0pt

QUESTION

If $f(x,y)=x^2y^2+y\cos x$ determine $\ds\frac{\partial
f}{\partial x}$ and $\ds\frac{\partial f}{\partial y}$.

\bigskip

ANSWER

$\ds f(x,y)=x^2y^2+y\cos x,\ \frac{\partial f}{\partial x}
=2xy^2-y\sin x,\ \frac{\partial f}{\partial y} =2x^2y+\cos x$



\end{document}
