worthant/taylor-tan-visualization
Interactive visualization of Taylor series, approximating tg(x)
Taylor series approximating tan(x) visualization
![]() |
|---|
Maths behind this repo
Taylor series of any real or complex-valued function f(x), that is
infinitely differentiable at a real or complex number a, looks like this:
I want to visualize
approximate those functions we can just use Taylor series at
called Maclaurin series:
Performing same operations for cos(x):
Now, as i said above,
approximations of
Also, the sin(x) and cos(x) approximation formulas can be summarized as this:
This repo visualizes this approximation of tan(x) and shows how adding more
terms improves the accuracy, using those formulas for
