Question: Rounding errors 1 0 + 1 0 p t Computers use finite precision to represent real numbers, which leads to rounding. You can see the

Rounding errors 10+10pt Computers use finite precision to represent real numbers, which
leads to rounding. You can see the size of the rounding error for real numbers around 1 using the
MATLAB command eps (1) or the numpy command np.spacing(1). This number, also called
the machine epsilon, is lon=2.2210-16dots for the standard (double precision) representation of
numbers in a computer. Try the following experiments in MATLAB (or Python/Octave/Julia).?1
(a) The n-th Hilbert matrix HninRnn has the entries hij=(i+j-1)-1 for i,j=1,dots,n.?2
It is known that solving systems with the Hilbert matrix increases rounding errors since the
matrix is poorly conditioned. Let en be the column vector of length n that contains all 1's.
Report the exact and the numerically computed values for
||Hn(Hn-1en)-en||2, for n=5,10,20.
Here, ||*||2 is the 2-norm. Also report the 1-norm, 2-norm and -norm condition numbers
of Hn for n=5,10,20.?3
 Rounding errors 10+10pt Computers use finite precision to represent real numbers,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!