For the given function f(x),let x_0 =0,x_1 =0.6
and x_2 =0.9. construct the lagrange interpolating
polynomials of degree. (1) at most 1 (2)at most 2
to approximate f(0.45) if
(a) f(x)=cosx (b) f(x)=(√(1+x)) (c) f(x)=In(1+x)
(d) f(x)=tanx
Evaluate ∫^(𝛑/2) _0 sinxdx with h=(𝛑/(12)),correct to
5 decimal places,using
(1)Trapezoidal rule
(2)Newton−Cotes formula for n=4
(3)Simpson 3/8 −rule
then find the truncation error in each case.
Find the length of the
diagonal of image formed by
line segment connecting the
points (2,3) and (4,5) in sequence
with their respective
reflection point with respect to
x−axis.