Ever wonder how calculators know what sine of theta is? In this example, we use the Taylor series, where you can get polynomials to look a lot like trigonometric functions to approximate the value of sin(theta)! You can also do the same thing with cosine(theta), but you get the derivative of the polynomial shown on the right!
I highly recommend seeing inside this project to see how the summation works, and you can drag the a value (basically says how accurate should the approximation be) (this part used to be some reminder of how if u put too high numbers you get +-infinity, but i may have forgot that i could just use mod cause sin is periodic) (edited 3/24/25)