<s>[INST] $\sqrt{2} x^2 - \sqrt{3} x +k=0$ with solutions $\sin\theta$ and $\cos\theta$, find k 
If the equation $\sqrt{2} x^2 - \sqrt{3} x +k=0$ with $k$ a constant has two solutions $\sin\theta$ and $\cos\theta$ $(0\leq\theta\leq\frac{\pi}{2})$, then $k=$……

My approach is suggested below but I am not sure how to continue.
Since $\sin\theta$ and $\cos\theta$ are two solutions of the equation,
Then we have,
$\sqrt{2} \sin^2\theta - \sqrt{3} \sin\theta +k=0$ .....Equation (1)
$\sqrt{2} \cos^2\theta - \sqrt{3} \cos\theta +k=0$ .....Equation (2)
Add (2) to (1),
$\sqrt{2} (\sin^2\theta + \cos^2\theta) - \sqrt{3} (\sin\theta + \cos\theta) +2k=0$ 
$\sqrt{2} - \sqrt{3} (\sin\theta + \cos\theta) +2k=0$ 
The answer key provided is $\frac{\sqrt{2}}{4}$. I think I am probably on the right track here but not sure how I should proceed with $\sin\theta$ and $\cos\theta$ next. Please help.
 [/INST] I'll use $y$ in place of $\theta$ . We know that sum of roots of $ax^2+bx+c$ is $\frac{-b}{a}$
$$siny+cosy=\frac{\sqrt{3}}{\sqrt{2}}$$ also $siny+cosy=\sqrt{2}sin(y+\frac{\pi}{4})$ thus $sin(y+\frac{\pi}{4})=\frac{\sqrt{3}}{2}=sin(\frac{\pi}{3})=sin(\frac{2\pi}{3})$ thus $y=\frac{\pi}{12}$ or $\frac{5\pi}{12}$ thus $sin(\frac{\pi}{12})cos(\frac{\pi}{12})=\frac{1}{2}sin(\frac{\pi}{6})=\frac{k}{\sqrt{2}}$ thus $k=\frac{sqrt{2}}{4}$
</s>