I've been solving some problems on signals for practice and I solved a particular one in two ways. The first way gave me this result : $$V(t)=\frac{2}{π}(\sin t+\cos t)$$
The second way gave: $$V(t)=\frac{4}{π\sqrt2}\sin\left(t+\frac{\pi}{4}\right)$$
Plotting this two online they seem to be the same. How can I prove this mathematically? I haven't used trigonometric formulas much so I don't have many ideas. I tried turning the sint to a cosine and then applying the addition formula of cosa+cosb but that doesn't help.
HINT
Recall that
$$\sin (t+\pi/4)=\sin t\cos (\pi/4)+\cos t\sin (\pi/4)$$