Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4) In class, we showed how round-off error can propagate through addition and division by relating the relative error of the result to the relative
4) In class, we showed how round-off error can propagate through addition and division by relating the relative error of the result to the relative errors in the initial two numbers due to round-off. Page 1 of 4 a) Use a similar method to show how error propagates through multiplication, *. * Yc, where x, and y, are the approximations to the exact numbers x and y, respectively. Let ez and , be their respective errors such that x = x + &, and y. = y +,. Your goal is to find an upper bound for the relative error in the multiplication in terms of the relative errors in the original numbers x and y. b) Use your result in part (a) to find a numerical upper bound if double precision is used; also, use the same result to find an upper bound if single precision is used. 4) In class, we showed how round-off error can propagate through addition and division by relating the relative error of the result to the relative errors in the initial two numbers due to round-off. Page 1 of 4 a) Use a similar method to show how error propagates through multiplication, *. * Yc, where x, and y, are the approximations to the exact numbers x and y, respectively. Let ez and , be their respective errors such that x = x + &, and y. = y +,. Your goal is to find an upper bound for the relative error in the multiplication in terms of the relative errors in the original numbers x and y. b) Use your result in part (a) to find a numerical upper bound if double precision is used; also, use the same result to find an upper bound if single precision is used
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started