Skip to main content
3-Newcomer
August 6, 2026
Question

Expansion formula for cos(n*x) yields unexpected results

  • August 6, 2026
  • 0 replies
  • 13 views

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

 

Mathcad code implementing expansion formula