$\displaystyle \frac{\partial^2 z}{\partial x^2}=a^2z $, given that when $\displaystyle x=0, \frac{\partial z}{\partial x}=a\sin y$ and $\displaystyle \frac{\partial z}{\partial y}=0 $
The solution is given as $\displaystyle z=\sin x+ e^y\cos x$. This does not even satisfy the main equation.
I tried with $\displaystyle z=f(y)\sinh x+ g(y)\cosh x$. This seems to work, but I am not sure if I am right.
Please advise.