Question
Expansion formula for cos(n*x) yields unexpected results
The following Mathcad code attempts to use a formula from Wikipedia to expand cos(n*z), but appears to get the wrong result. Comments?

The following Mathcad code attempts to use a formula from Wikipedia to expand cos(n*z), but appears to get the wrong result. Comments?

No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.