Is u/2 = 112.5 or u = 112.5? either way, you can find the value you want by using the half angle formula for sin:
sin(u/2) = sqrt(1/2-cos(u)/2) for 0< (u/2) <180
If u/2 = 112.5, then u=225 and cos(u) = -sqrt(2)/2
If u = 112.5, you can do this twice and find the cos(112.5) from pythagorean theorem (usual technique to find a trig function given any other trig function value for an angle) or from cos(u/2) = sqrt(1/2+cos(u)/2).
Good luck!