Numerical Analysis Assignment 2: Interpolation and Difference Operators, Exercises of Mathematical Methods for Numerical Analysis and Optimization

The second numerical analysis assignment from the school of electrical engineering and computer sciences at the national university of sciences and technology in islamabad, pakistan. The assignment covers topics such as interpolation using linear lagrange polynomials, difference tables, and central, forward, and backward difference operators.

Typology: Exercises

2011/2012

Uploaded on 08/07/2012

gaurkin
gaurkin 🇮🇳

3.1

(10)

53 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Numerical Analysis
Assignment No. 2
Due Date: 12 April 2012
Q No. 1: Suppose a table is to be prepared for the function f(x) = sin(ln x) with 2.0x2.6.
If the number of decimal places to be given each entry is d5 and that the difference between
x-values i-e; the step size is h. What should be the value of hfor linear lagrange polynomial
to give an absolute error of atmost 105. Use this value of hto interpolate f(2.3) by using
linear lagrange polynomial and compare your result.
Q No:2 Form a difference table for the function given below. Find the values of a, b, c so that
44f(a) = 4f(b) = δ4f(c) = 0.0428.
x0123456
f(x) .3679 .7358 .9197 .9810 .9963 .9994 .9999
Q No: 3 Show that δ2=4−∇=4∇ ∇4 where δ, 4,are central, forward and backward
difference operators respectively.
Q No: 4 You measure the voltage drop v, for a number of different values of current ias:
i0.25 0.75 1.25 1.75 2.25
v-0.23 -0.33 0.70 1.88 6.00
Use a suitable interpolation formula to estimate the voltage drop for i= 0.9Amp.
E-mail address: [email protected] (Dr. Quanita Kiran),
School of Electrical Engineering and Computer Sciences, National University of Sciences and Technology, Islamabad,
Pakistan.
1
docsity.com

Partial preview of the text

Download Numerical Analysis Assignment 2: Interpolation and Difference Operators and more Exercises Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Numerical Analysis

Assignment No. 2

Due Date: 12 April 2012

Q No. 1: Suppose a table is to be prepared for the function f (x) = sin (ln x) with 2. 0 ≤ x ≤ 2 .6. If the number of decimal places to be given each entry is d ≥ 5 and that the difference between x-values i-e; the step size is h. What should be the value of h for linear lagrange polynomial to give an absolute error of atmost 10−^5. Use this value of h to interpolate f (2.3) by using linear lagrange polynomial and compare your result.

Q No:2 Form a difference table for the function given below. Find the values of a, b, c so that 44 f (a) = ∇^4 f (b) = δ^4 f (c) = − 0. 0428.

x 0 1 2 3 4 5 6 f (x) .3679 .7358 .9197 .9810 .9963 .9994.

Q No: 3 Show that δ^2 = 4 − ∇ = 4∇ − ∇4 where δ, 4 , ∇ are central, forward and backward difference operators respectively.

Q No: 4 You measure the voltage drop v, for a number of different values of current i as:

i 0.25 0.75 1.25 1.75 2. v -0.23 -0.33 0.70 1.88 6.

Use a suitable interpolation formula to estimate the voltage drop for i = 0. 9 Amp.

E-mail address: [email protected] (Dr. Quanita Kiran), School of Electrical Engineering and Computer Sciences, National University of Sciences and Technology, Islamabad, Pakistan.

1

docsity.com