VL
Initializing Lab Environment...

Taylor Series Approximations

Taylor Series Approximations Sandbox
Exact sin(x)Taylor P_3(x)

Target Function

Exact vs Approx0.9975 vs 0.9375
Error |f βˆ’ P_N|0.0600

Parameters

19
-3.53.5

Auto-Sweep Engine

2x

Taylor Series Approximations

TAYLOR

Calculators compute sin(x), cos(x), and eΛ£ using Taylor polynomialsβ€”adding simple powers of x weighted by derivatives at x=0 until the curve matches to machine precision.

f(x)β‰ˆβˆ‘k=0Nf(k)(0)k!xkf(x) \approx \sum_{k=0}^{N} \frac{f^{(k)}(0)}{k!} x^k

Whiteboard Solver Steps

Step 1

1. Order-3 Taylor Polynomial Around x = 0

Taylor series builds a curved function out of simple polynomials 1,x,x2,x3,…1, x, x^2, x^3, \dots

f(x)β‰ˆβˆ‘k=03f(k)(0)k!xkf(x) \approx \sum_{k=0}^{3} \frac{f^{(k)}(0)}{k!} x^k
Step 2

2. Approximation Error at x = 1.5

Increase Order NN to watch the polynomial hug the true curve across a wider range!

f(1.5)=0.9975,P3(1.5)=0.9375β€…β€Š(Err 0.0600)f(1.5) = 0.9975, \quad P_3(1.5) = 0.9375 \;(\text{Err } 0.0600)