A console application that outputs multiple-angle formulas and trigonometric identities given the multiplier and a specific format. This repository contains two functionally the same applications, one written in C# and the other in Python.
The algorithm generating desired polynomials uses one of two approaches to compute coefficients, famous Pascal's triangle and Chebyshev polynomials of the first kind.
Multiplier | Format | Output Formula |
---|---|---|
2 | Cosine Only | |
2 | Sine And Cosine | |
3 | Cosine Only | |
3 | Sine And Cosine | |
5 | Cosine Only | |
5 | Sine And Cosine | |
9 | Cosine Only | |
9 | Sine And Cosine | |
... |
The input multiplier has no theoretical limit; however, these formulas can become extremely lengthy due to their rapidly growing coefficients.
- https://mathworld.wolfram.com/Multiple-AngleFormulas.html
- https://www.anirdesh.com/math/trig/cosine-identities.php
- https://en.wikipedia.org/wiki/Pascal%27s_triangle
- https://en.wikipedia.org/wiki/Chebyshev_polynomials
Copyright © 2024 Anar Bastanov
Distributed under the MIT License.