f(x) = cos(x) DEFINED [0, pi], what will be the maximum error if f(x) 10th and 15th degree interpolating polynomials in MATLAB
We need at least 10 more requests to produce the answer.
0 / 10 have requested this problem solution
The more requests, the faster the answer.
f(x) = cos(x) DEFINED [0, pi], what will be the maximum error if f(x) 10th and...
for the function f(x)=cos(x) define within [0, pi], what will be the maximum error if f is approximated by 10th and 15th degree interpolating polynomials. Solve this in MatLab
1. (Taylor Polynomial for cos(ax)) For f(x)cos(ar) do the following. (a) Find the Taylor polynomials T(x) about 0 for f(x) for n 1,2,3,4,5 (b) Based on the pattern in part (a), if n is an even number what is the relation between Tn (x) and TR+1()? (c) You might want to approximate cos(az) for all in 0 xS /2 by a Taylor polynomial about 0. Use the Taylor polynomial of order 3 to approximate f(0.25) when a -2, i.e. f(x)...
(b) Consider the Chebyschev interpolation points in the interval1,1 x,-cos lKjS n 2n The Chebyschev nodes possess the crucial property that they minimize the quantity max l(z (- appearing in the error representation formula. Use the Matlab script rungeinterp.m to compute the interpolating polynomials at these points and plot them for n 5,9, 13, 17 (b) Consider the Chebyschev interpolation points in the interval1,1 x,-cos lKjS n 2n The Chebyschev nodes possess the crucial property that they minimize the quantity...
3. Consider the function f(x) = cos(x) in the interval [0,8]. You are given the following 3 points of this function: 10.5403 2 -0.4161 6 0.9602 (a) (2 points) Calculate the quadratic Lagrange interpolating polynomial as the sum of the Lo(x), L1(x), L2(x) polynomials we defined in class. The final answer should be in the form P)a2 bx c, but with a, b, c known. DELIVERABLES: All your work in constructing the polynomial. This is to be done by hand...
let f:[-pi,pi] -> R be definded by the function f(x) { -2 if -pi<x<0 2 if 0<x<pi a) find the fourier series of f and describe its convergence to f b) explain why you can integrate the fourier series of f term by term to obtain a series representation of F(x) =|2x| for x in [-pi,pi] and give the series representation DO - - - 1. Let f: [-T, 1] + R be defined by the function S-2 if-A53 <0...
The graph of f is shown to the right. The function F(x) is defined by for . a) Find F(0) and F(3). b) Find F'(1). c) For what value of x does F(x) have its maximum value? What is this maximum value? d) Sketch a possible graph of F. Do not attempt to find a formula for F. (You could, but it is more work than necessary.) We were unable to transcribe this imageWe were unable to transcribe this image9-3....
Find the integral using matlab quad inbuilt for function (x^2)*cos(x)+3*sin(x)*tan(x) for 0 to pi/4
l. (Taylor Polynonial for cos(ar)) Fr f(z) = cos(ar) do the following. (a) Find the Taylor polynomials T.(r) about O for f(x) for n 1,2,3,4,5 (b) Based on the pattern in part (a), if n is an even number what is the relation between T(r) and TR+1(r)? (c) You might want to approximate cs(ar) for all x in。Ś π/2 by a Taylor polynomial about 0. Use the Taylor polynomial of order 3 to approximate f(0.25) when a-2, i.e. f(x)-cos(2x). d)...
Let the mathematical function f(x) be defined as: f(x) = exp(-0.5x) cos(5x)-0.5 , x 〉 0 Write a Matlab function called Newton1 that would find the zero based on a passing initial guess as an input argument x0. The function returns the estimated zero location x, the function value at the zero location (f) and the number of iteration k. The iteration function converges if f(%) < 5*eps and it should diverge if the iteration number k>10000. When it diverges,...
Results for this submission Entered Answer Preview Result (3/2)+(6/pi)*cos(x) e + cos(2) correct (3/2)+(6/pi)*cos(x)-(2/pi)*cos(3*x) 3 6 st-ce 2 s(3x) correct (3/2)+(6/pi)*cos(x)-(2/pi)*cos(3*x)+(6/5)*pi*cos(5*x) it coule) = _ cou(30) + * cos(52) incorrect A correct f(x) f(x) correct At least one of the answers above is NOT correct. 1 (1 point) (a) Suppose you're given the following Fourier coefficients for a function on the interval (-1,7): a 3 6 6 6 = , ai = –, az = -2,25 = = and 22,...