eprparadox
- 133
- 2
I was struggling to represent the following for integer values of n:
<br /> \sin \left( \dfrac {n\pi } {2}\right) <br />
I know for even n, we get zero
But for odd n, it alternates beween 1 and -1 for every other odd. Is there a compact way to represent that? I feel like I'm being dumb and missing something obvious.
Thanks!
<br /> \sin \left( \dfrac {n\pi } {2}\right) <br />
I know for even n, we get zero
But for odd n, it alternates beween 1 and -1 for every other odd. Is there a compact way to represent that? I feel like I'm being dumb and missing something obvious.
Thanks!