PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Error, Chance and the Machine, Ch Linear systems, least squares and the singular value decomposition
Problem
A thin rod of length 5Δx has its two ends held at 0°C. One implicit time step of the diffusion equation with μ=DΔt/Δx2=1.5 gives, for the four interior nodal temperatures T1,T2,T3,T4 (in °C), the tridiagonal system −1.5Ti−1+4Ti−1.5Ti+1=Tiold,i=1,…,4, with T0=T5=0 and old (start-of-step) temperatures T1old=100, T2old=80, T3old=50, T4old=20 (all in °C).
((a)) Write down the coefficient matrix and check whether it is diagonally dominant, row by row.
((b)) Use the tridiagonal (Thomas) elimination, which needs no pivoting, to solve for T1,T2,T3,T4 to three significant figures.