cos(π/4)=1/√2,sin(π/4)=1/√2