Question: MATLAB - PLEASE HELP Let f(x)=x x (a) Find the quadratic Lagrange polynomial P 2 (x) using the nodes x 0 =1,x 1 =1.25,x 2
MATLAB - PLEASE HELP
Let f(x)=xx
(a) Find the quadratic Lagrange polynomial P2(x) using the nodes x0=1,x1=1.25,x2=1.5
(b) Use the polynomial from (a) to estimate the average value of f(x) over the interval [1,1.5]
(c) Estimate the error in approximating f(x) with P2(x)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
