please answer with good handwriting Q1 (a) Given the function f(x)= x - 5x² - 2x +10. (1) Prove that there at least a root in the interval [1,3] by using Intermediate Value Theorem. (2 marks) (b) (i) Find the root of f(x) by using Bisection method. Iterate until i = 5. (8 marks) Prove the Lagrange interpolating polynomial of second degree for data of (0,1), (1,2) and (4,2) is P2(x) = -* x2 + x + 1. (5 marks)...
2. Graph the functions f(x)x(x 1)(x-2) ..(x- k) for k- 1,2,..,10. (These are examples of the polynomials occurring in the error formula for polynomial interpolation.) We want to produce an evenly spaced table of values for the function f(x) sin(x) for x E [O,T/2] such that, with cubic interpolation, we can give the values of the function at any point in the interval with an error less than 5 10-12. That means finding a number n such that with h-/2n...
this is numerical analysis 2. Consider the function f(x) = -21° +1. (a) Calculate the interpolating polynomial pz() for data using the nodes 2o = -1, 11 = 0, 12 = 1. Simplify the polynomial to standard form. Use the error theorem for polynomial interpolation to bound the error f(x) - P2(x) on the interval (-1,2). Is this bound realistic?
3. (30 points) Let f(x) = 1/x and data points Zo = 2, x,-3 and x2 = 4. Note that you can use the abscissae to find the corresponding ordinates (a) (8 points) Find by hand the Lagrange form, the standard form, and the Newton form of the interpolating polynomial p2(x) of f(x) at the given points. State which is which! Then, expand out the Newton and Lagrange form to verify that they agree with the standard form of p2...
12 26 14 4. (15 marks) Let f(x)=/2x+1 . Use quadratic Lagrange interpolation based on the nodes x, 0, x-1 and x, 2 to approximate f(1.2) 12 26 14 4. (15 marks) Let f(x)=/2x+1 . Use quadratic Lagrange interpolation based on the nodes x, 0, x-1 and x, 2 to approximate f(1.2)
πα 5. Let f(x) = cos Find the interpolation polynomials at x = 0,1 by Lagrange interpolation.Determine the upper bound for f(x) – P1(x).
1.f(x)=(2x-3)/(1-x+2x^2), find 4th degreeTaylor polynomial. 2. f(x)=(cos(x)-1)/((sin(x))^2), find 2nd degree Taylor polynomial.
We want to produce an evenly spaced table of values for the function f(x) sin(x) for x E [0,Tt/2] such that, with cubic interpolation, we can give the values of the function at any point in the interval with an error less than 5 10-12. That means finding a number n such that with h = π/2n and Xk-kh, k-0, , n the cubic interpolation polynomial with the interpolation points XK-1,XK, X+1 XK+2 for x has an error less than...
Consider polynomial interpolation of the function f(x)=1/(1+25x^2) on the interval [-1,1] by (1) an interpolating polynomial determined by m equidistant interpolation points, (2) an interpolating polynomial determined by interpolation at the m zeros of the Chebyshev polynomial T_m(x), and (3) by interpolating by cubic splines instead of by a polynomial. Estimate the approximation error by evaluation max_i |f(z_i)-p(z_i)| for many points z_i on [-1,1]. For instance, you could use 10m points z_i. The cubic spline interpolant can be determined in...
Question 2 6 pts Let T2(x) be the Taylor polynomial for f(x) = 2x + 2 centered at c = 1. Fill in the blanks in the paragraph below. Use exact values. The Error Notice that 4.2 = f(1.1) T2(1.1) = Bound says that the maximum possible value of the error is Tonal x-c"+1 1V 4.2 -T2(1.1) < (n + 1)! where K = and 2 - 1+1 (n+1)! Question 3 4 pts Fill in the blank. Use exact values...