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

  Simplify into a single polynomial

Dividing the given fraction and then check by multiplying - Simplify into a single polynomial

  Calculate the correlation coefficient for the linear trend

Calculate the correlation coefficient for the linear trend line forecast & describe its meaning.

  Determining midpoint and length

Find the midpoint and length of the line segment PQ where P=(2,-7) and Q=(5,1). We will also use vectors to find the length of the segment.

  Find the number of defective items

Suppose that a batch of 100 items contains 6 that are defective and 94 that are nondefective. If X is the number of defective items

  Linear equations-inequalities problems

How many solution sets do systems of linear inequalities have? Must solutions to systems of linear inequalities satisfy both inequalities?

  Multiple choice questions based on regression

Multiple choice questions based on regression

  Write a linear regression equation

Write a linear regression equation for these data and forecast how much money Robert will win if he spends $28.

  Sketch a graph of the function

Graph of the function - sketch a graph of the function.

  Changing a graph

This is the question in my assignment. Give an example of a number you could place in for the variable x, and describe the shift from the original graph. Remember to note what your value you are calculating for the variable x.

  Important information about sets and probability

Important information about Sets and Probability, A marble is drawn from a box containing 3 yellow, 4 white, and 8 blue marbles. Find the odds in favor of drawing the following.

  The sequence of late times

The sequence of late times

  Marginal and conditional density

Marginal and conditional density. A tobacco company produces blends of tobacco with each blend containing various proportions of Turkish, domestic and other tobacco.

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