Write a program that implements the Lagrange interpolationscheme directly. Test
ID: 3613699 • Letter: W
Question
Write a program that implements the Lagrange interpolationscheme directly. Test it by evaluating f(0.3) and f(0.5) from thegiven data taken from the error function with f(0)=0,f(0.4)=0.428392,f(0.8)=0.742101, f(1.2)=0.910314, and f(1.6)=0.970348. Examine theaccuracy of the interpolation by comparing the results obtainedfrom the interpolation with the exact values f(0.3)=0.328627and f(0.5)=0.520500 please use the fortran 77/90 to write this program and I willrate as lifesaver! Write a program that implements the Lagrange interpolationscheme directly. Test it by evaluating f(0.3) and f(0.5) from thegiven data taken from the error function with f(0)=0,f(0.4)=0.428392,
f(0.8)=0.742101, f(1.2)=0.910314, and f(1.6)=0.970348. Examine theaccuracy of the interpolation by comparing the results obtainedfrom the interpolation with the exact values f(0.3)=0.328627and f(0.5)=0.520500 please use the fortran 77/90 to write this program and I willrate as lifesaver!