abs(1+cos(pi/4) +i*sin(pi/4))