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

  Solve the equation using the method of your choice

Solve the given equation and Solve the equation by factoring - Solve the equation using the method of your choice

  Evaluate the dominant behavior

Taylor expansion to find the dominant behavior of velocity - evaluate the dominant behavior of v(t), and also the first correlation to that dominant behavior.

  Find the probability that exactly 2 will be defective

FInd the probability that exactly 2 will be defective

  Find the mean particulate levels in the city center

Find the mean particulate levels in the city center.

  Why is the test you select the most appropriate

Blood pressure measurements are taken on a set of patients before & after they receive a lumbar puncture [spinal tap]. You are interested in determining if there is a difference between mean arterial blood pressure between the pre & post measures. Wh..

  Evaluate the sequence generated by generating functions

Evaluate the sequence generated by generating functions

  Analyticity and differentiability

Assume that f(z) is analytic at the origin and f(0) = first derivative of f at 0 = 0. Prove that f(z) can be written in the form f(z) = [z^2]g(z), where g(z) is analytic at z = 0.

  Largest reduction to maximize revenue

Demand,Revenue, & the Largest Reduction to maximize Revenue, 200 DVD players are sold per week for $300 each. For each $10 rebate (reduction in sale price), 20 additional DVD players are sold.

  Solve binomial probability distribution

Sample Question: Binomial Probability Distribution. Assume a binomial probability distribution with n=40 and Ï? =.30(pi =.30) . (Round all z values to 2 decimal places.)

  Graphical solution of linear equations

For solving a system of equations, is there a difference between using an algebraic method and using the graphical method? Explain why or why not

  Find the required sample size required

Find the required sample size required

  Identifying local maximum, local minimum

Identifying local maximum, local minimum.

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