Docsity

Homework Problems in Mathematics and Numerical Analysis, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Homework 2
Problem 1
Consider the iteration formula (Steffensen’s method)
xn+1 =xn−f(xn)2
f(xn+f(xn)) −f(xn)
for solving f(x) = 0. Show (analytically) that the method is quadratically convergent, under
some suitable assumptions.
Problem 2
A cylindrical object, with a uniform circular section has a temperature on one side T=
140Cand ambient temperature Ta= 40C. It has thermal conductivity of k= 70watts/cmK
and a heat-transfer coefficient of h= 5watts/cm2K. When the convection loss from the end
Ais also considered, the nodal temperatures T1,T2and T3are governed by the equation
T1= 140
72.6668T2−23.8333T3= 4336
−23.8333T2+ 41.3334T3= 700.
(1)
Determine the values of the nodal temperatures using LU decomposition.


















l=5cm
140C
T1 T2 T3 2 cm
Ta=40C
Figure 1: Problem 2
Problem 3
1. Prove that if Uis upper triangular and invertible, then U−1is upper diagonal.
2. Prove that if Lis lower triangular and invertible, then L−1is lower diagonal.
3. Prove that the product of two upper diagonal matrices is upper diagonal.
Problem 4
Write a program to produce the Doolittle factorization of the following matrix.
The matrix A(n×n) is a tri-diagonal matrix with 2 on the main diagonal and −1 on
sub- and super- diagonal (in matlab
A= 2 ∗diag(ones(n, 1)) + (−1) ∗diag(ones(n−1,1),1) + (−1) ∗diag(ones(n−1,1),−1)).
1

Partial preview of the text

Download Homework Problems in Mathematics and Numerical Analysis and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Homework 2

Problem 1

Consider the iteration formula (Steffensen’s method)

xn+1 = xn −

f (xn)^2 f (xn + f (xn)) − f (xn)

for solving f (x) = 0. Show (analytically) that the method is quadratically convergent, under some suitable assumptions.

Problem 2

A cylindrical object, with a uniform circular section has a temperature on one side T = 140 C and ambient temperature Ta = 40C. It has thermal conductivity of k = 70watts/cmK and a heat-transfer coefficient of h = 5watts/cm^2 K. When the convection loss from the end A is also considered, the nodal temperatures T 1 , T 2 and T 3 are governed by the equation

T 1 = 140

  1. 6668 T 2 − 23. 8333 T 3 = 4336 − 23. 8333 T 2 + 41. 3334 T 3 = 700.

Determine the values of the nodal temperatures using LU decomposition.





















l=5cm

140C

T1 T2 T3 2 cm

Ta=40C

Figure 1: Problem 2

Problem 3

  1. Prove that if U is upper triangular and invertible, then U −^1 is upper diagonal.
  2. Prove that if L is lower triangular and invertible, then L−^1 is lower diagonal.
  3. Prove that the product of two upper diagonal matrices is upper diagonal.

Problem 4

Write a program to produce the Doolittle factorization of the following matrix. The matrix A (n × n) is a tri-diagonal matrix with 2 on the main diagonal and −1 on sub- and super- diagonal (in matlab A = 2 ∗ diag(ones(n, 1)) + (−1) ∗ diag(ones(n − 1 , 1), 1) + (−1) ∗ diag(ones(n − 1 , 1), −1)).