Answer :

[tex]\tan(157.5)=\tan(315/2)=\frac{\sin(315)}{1+\cos(315)}=\frac{-\sqrt{2}/2}{1+\sqrt{2}/2}=\frac{-1}{1+\sqrt{2}}[/tex]