Beruflich Dokumente
Kultur Dokumente
Spring 2016
Problem 7: Gaussian Elimination and Floating Point Representation (Part II). (12+6=18 points)
Given the linear equation system of Problem 4, i.e., an n × n-matrix A with entries aij = (10 · i)j−1
for i, j = 1, . . . , n and vector b such that x = (1, 1, . . . , 1) is the solution to the linear equation system
Ax = b.
(a) Solve the linear equation system for n = 4 using Gaussian elimination with scaled partial pivoting
when assuming normalized floating-point representations with a mantissa of k = 3 digits precision
and base b = 10.
(b) Compute the residual and relative errors for the solution computed in (a) and compare it to the
results you had obtained in Problem 4.