sqrt((300-50*cos(pi/4))^2+(50*sin(pi/4))^2)