Numerical Computing Assignment - Saad (20821)
Numerical Computing Assignment - Saad (20821)
3) Given Taylor series of f (3) = 6 , f ′(3) = 8, f ′′(3) =11, and all other higher order
derivatives of f (x) are zero at x = 3, and assuming the function and all its derivatives
exist and are continuous between x = 3and x = 7 , the value of f (7) is
(A) 38.000 (B) 79.500 (C) 126.00 (D) 331.50 4
5) Let τa(f(x)) denote the Taylor series of the polynomial f(x) centered at a. Which of the
following exactly happens after the Taylor series is formed?
a) Ta(f(x)) = f(x) b) The Taylor series has the effect of scaling GRAPH OF f(x)
c) The Taylor series transforms the origin d) Scaled up graph obtained by factor of a
Maclaurin Series 1:
1) The coefficient of the 5 x term in the Maclaurin polynomial for sin(2x) is __________
(A) 0 (B) 0.0083333 (C) 0.016667 (D) 0.26667
2) If the Taylor series is centered at zero, then that series is also called a Maclaurin series
True
3) The coefficient of the 5 x term in the Maclaurin polynomial for sin(2x) is
(A) 0 (B) 0.0083333 (C) 0.016667 (D) 0.26667
4) In Maclaurin series as given , , , and all other higher order derivatives of are zero at , and
assuming the function and all its derivatives exist and are continuous between and , the
value of is ⦁ 38.000 ⦁ 79.500 ⦁ 126.00 ⦁ 331.50
5) The necessary condition for the maclaurin expansion to be true for function f(x)
is__________
a) f(x) should be continuous b) f(x) should be differentiable
c) f(x) should exists at every point d) f(x) should be continuous and
differentiable
1) The Newton-Raphson method of finding roots of nonlinear equations falls under the
category of _____________ methods.
⦁ bracketing ⦁ Open ⦁ Random ⦁ Graphical
2) At which point the iterations in the Newton Raphson method are stopped?
a) When the consecutive iterative values of x are not equal b) When the consecutive
iterative values of x differ by 2 decimal places c) When the consecutive iterative
values of x differ by 3 decimal places d) When the consecutive iterative values of x
are equal
3) Rate of convergence of the Newton-Raphson method is generally __________
a) Linear b) Quadratic c) Super-linear d) Cubic
Trapezoidal Rule
1) The Trapezoidal rule is the average of the left and right Riemann sum
2) The two-segment trapezoidal rule of integration is exact for integrating at most first
order of polynomials.
3) The error of the composite trapezoidal rule is the difference between the value of the
integral and the numerical result
4) Trapezoidal formula is also known as
⦁ Simpson’s Rule ⦁ Co-ordinate method ⦁ Prismoidal method ⦁ Average end area method
5) The value of by using one-segment trapezoidal rule is most nearly
⦁ 11.672 ⦁ 11.808 ⦁ 20.099 ⦁ 24.119
6) Approximate of the integral of on the interval [0, 2] using the trapezoidal rule is
⦁ 14 ⦁ 15 ⦁ 16 ⦁ 17
Simpson’s Rule
2: The value obtained from Simpson’s rule depends on the nature of the curve
True
5: Which of the following shapes is generally preferred in case of application of Simpson’s rule?
a) Square b) Triangle c) Trapezoid d) Rectangle
6: The highest order of polynomial integrand for which Simpson’s 1/3 rule of integration is
exact is
(A) first (B) Second (C) Third (D) Fourth Newton’s Forward Method
1: The Nth degree interpolating polynomial obtained by fitting data points of Newton forward
will be identical to that obtained using Lagrange formulae.
2: In newton forward, to compute higher order differences in the tables we take forward
differences of previous order differences instead of using expanded formulae.
True
5: The newton formula works only if given values of the independent variable are at ________
A: Equal interval B: Not equal interval C: Same distance D: Variable
distance
Markoff's formulas Markoff’s formulas Taylor series Lagrange formula Simpson formula