Determining round-off error

Assignment Help Mathematics
Reference no: EM13124667

Using MatLab, compute H^-1H for various n between 5 and 15. Describe the results and comment on the difference between the MatLab output and what is expected the answer to be (given that H is invertible for all n). At what point does Matlab give a warning indicating that it may not be giving the correct answer?

Try using the rref function to reduce H=hilb(n) for various n. What is expected for an invertible matrix? Describe how results differ from this. Does this shed light on why MatLab has difficulty with the calculation? Please explain.

HINT: The idea behind this problem is that MATLAB is not perfect at performing computations and the solutions it obtains are by no means exact. This problem involves doing computations on a special class of matrices called Hilbert matrices. Each Hilbert matrix is invertible. Thus, if H is a Hilbert matrix, and if inv(H) is the inverse of H, then inv(H) * H = H * inv(H) = I, where I is the identity matrix. As long as H is invertible (which it always will be), this identity will always be true regardless of the size of the matrices. Now do this exact computation in MATLAB with Hilbert matrices of various sizes. What do you notice? Try to explain your results by thinking about how computers deal with / store numbers (hint: think about digits).

The way to do part b is similar. If A is an invertible matrix, what should the result be if you do rref(A) in MATLAB? Do this with Hilbert matrices of various sizes and see what happens. In particular, try this with Hilbert matrices of size 11x11 and then 12x12. Look at the bottom row. What can you say about an inverse in this case?

Reference no: EM13124667

Questions Cloud

Differences between functions and linear equations : What similarities and differences do you see between functions and linear equations? Are all linear equations functions? Is there an instance when a linear equation is not a function?
Estimate true population mean gas tax with confidence : Use the data to estimate the true population mean gas tax with 90% confidence. Does your interval contain the national average of 21 cents?
Will corporations obtain a greater charitable contribution : Will corporations obtain a greater charitable contribution deduction for the current year by filing a consolidated tax return or separate tax returns?
Calculate the cell potential after the reaction has operated : Consider the cell described below: Al| Al3+ (1.00 M) || Pb2+ (1.00 M) | Pb Calculate the cell potential after the reaction has operated long enough for the [Al3+] to have changed by 0.60 mol/L.
Determining round-off error : Using MatLab, compute H^-1H for various n between 5 and 15. Describe the results and comment on the difference between the MatLab output and what is expected the answer to be
Illustrate what should campbell record enacted tax rates : What should Campbell record as a net deferred tax asset or liability for the year ended Dec 31 2011 assuming that the enacted tax rates in effect are 40% in 2011 and 35% in 2012?
Equity method in accounting for investment : On December 31, 2010, Krypton reported a net income of $735,000 for the year. National Star uses the equity method in accounting for its investment in Krypton Labs.
Calculate the mass of cu(no3)2·3h2o needed : Calculate the mass of Cu(NO3)2·3H2O needed to prepare 50.0mL of a 0.50 M Cu(II) solution?
Find the solution to linear transformations : The solution to Linear transformations, A linear transformation L: V -- W is said to be one-to-one if L(v1) = L(v2) implies that v1=v2. Show that L is one-to-one if and only if ker(L) = {0v}.

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd