- #1
Deathfish
- 86
- 0
ok i know that
sin n*(pi/2)
= 1 if n=1,5,9,13...
= -1 if n=3,7,11,15...
= 0 if n is even
cos n*(pi/2)
= 0 if n is odd
= -1 if n=0,4,8,12
= 1 if n=2,6,10,14...
is there a simpler way of expressing this?
for example simple way to express cos(n*pi)=cos(-n*pi)=(-1)^n
is there a similar way to express cos n*(pi/2) and sin n*(pi/2)
thanks
sin n*(pi/2)
= 1 if n=1,5,9,13...
= -1 if n=3,7,11,15...
= 0 if n is even
cos n*(pi/2)
= 0 if n is odd
= -1 if n=0,4,8,12
= 1 if n=2,6,10,14...
is there a simpler way of expressing this?
for example simple way to express cos(n*pi)=cos(-n*pi)=(-1)^n
is there a similar way to express cos n*(pi/2) and sin n*(pi/2)
thanks