cos(a-π/4)=cos(π/4-a)=sin(π/2-(π/4-a))=cos(a+π/4)
sin(a+π/4)=a
所以cos(a+π/4)=±根号(1-a²)
也可以
cos(a-π/4)=sin(π/2-(a-π/4))
=sin(3π/4-a)=sin(π-(3π/4-a))=sin(a+π/4)=a
cos(a-π/4)=cos(π/4-a)=sin(π/2-(π/4-a))=cos(a+π/4)
sin(a+π/4)=a
所以cos(a+π/4)=±根号(1-a²)
也可以
cos(a-π/4)=sin(π/2-(a-π/4))
=sin(3π/4-a)=sin(π-(3π/4-a))=sin(a+π/4)=a