The following values of the function $f(x) = \sin x + \cos x$ are given | $x$ | $10°$ | $20°$ | $30°$ | |---|---|---|---| | $f(x)$ | 1.1585 | 1.2817 | 1.3360 | Construct the quadratic Interpolating polynomial that fits the data. Hence, calculate $f(\pi/12)$.
Ayan Jain, AIR 16, 2023
| $x$ | $f(x)$ | $\Delta y$ | $\Delta^2y$ | |---|---|---|---| | $10°$ | 1.1585 | | | | | | 0.1232 | | | $20°$ | 1.2817 | | $-0.0689$ | | | | 0.0543 | | | $30°$ | 1.3360 | | |
where $u = \frac{x - x_0}{10°}$, $x_0 = 10°$
This is the req'd polynomial, where $x_0 = 10°$.
Putting $x = \pi/12$ in degrees $= 15°$,
(And actual value of $f(\pi/12) = \sin(\pi/12) + \cos(\pi/12) = 1.22474$