You can draw a right angled isosceles triangle.
Let the equal sides by 1 unit
The equal angles will be 45 degrees
Using Pythagoras' theorum you can determing that the hypotenuse is sqrt(2)
Then you can reas cos 45degrees straight off the triangle
cos45=1√2
if you want to have a rational denominator then
cos45=1√2=1√2×√2√2=√22