I just need (c).

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

I just need (c).

Post by answerhappygod »

I just need (c).
I Just Need C 1
I Just Need C 1 (34.71 KiB) Viewed 31 times
I Just Need C 2
I Just Need C 2 (113.13 KiB) Viewed 31 times
SET A = a2 + 46 IF A=0 SET A TO :20 SET B TO B = 2:01/a - 10 SET « TO (A + Bn)(a/2)" RETURN 3 ELSE SET 01 TO (a + VA)/2 SET 12 TO (a - VA)/2 SET A TO your value of A from 3(a). SET B TO your value of B from 3(a). SET « TO AO + Be RETURN C .

6. In this question, the rounding errors incurred by the exact-formula algorithm are analysed. You may assume that a, b, 20, 21 are all integers no larger in magnitude than 106 and that the computer is using double precision. (a) Each time a computer calculates a value x which is not in the registry, instead of storing the true value x, it stores the computed value x Set 8c to be the relative rounding error incurred by doing the computation i.e. C-2 02 T [2] Express x in terms of x and 8x, and give bounds on o, in terms of machine precision t (so t = 52 for double precision). (b) Suppose that a and b are such that A=0. By expressing the values computed at each stage in the form given in (a), show that the total rounding error incurred by the exact-formula algorithm is 0(2-), so the algorithm does not significantly amplify the rounding errors. (c) Analyse the rounding errors incurred by the exact-formula algorithm when A 70. (d) For which values of a, b, 10, 11, n would you expect this algorithm to be the most susceptible to rounding errors? Is the size of the error a concern in this case? [5] [7] [4]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply