Question 1: stability To calculate √d with a precision greater than matlabs usually offers, we suggest you use this rout

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: 899603
Joined: Mon Aug 02, 2021 8:13 am

Question 1: stability To calculate √d with a precision greater than matlabs usually offers, we suggest you use this rout

Post by answerhappygod »

Question 1 Stability To Calculate D With A Precision Greater Than Matlabs Usually Offers We Suggest You Use This Rout 1
Question 1 Stability To Calculate D With A Precision Greater Than Matlabs Usually Offers We Suggest You Use This Rout 1 (73.64 KiB) Viewed 50 times
Matlab coding are given.
please answer the parts of this question fastly thanks.
Question 1: stability To calculate √d with a precision greater than matlabs usually offers, we suggest you use this routine : • Calculate o = √d(1+po) in Matlab • Construct apporximation with t significative decimales xbo: 12o(1+P1). • Calculer di = 1, in exact arithmetics' . Write x = √d = √d₁ + √d - √d₁ = ₁ + d-d₁ √d + √d₁ = 1 + d-di √d + 1 Consider following matlab lines(see file examen202206question1.m) x0 = sqrt (d); t = 8; e = floor (log10 (x0)); p= 10^ (t-e-1); m = floor (x0*p); m2 =m^2; x1 = m/p; r = (d*p^2-m2) /p^2; el r/ (x0+x1); Put d = <your matricule> and answer followings :' a. Write significand of' X₁ (complete notation not scientific one)` b. Write significand of db1 (complete notation not scientific one)` c. Write value of x with maximum numbers possible d. Why is t value fixed at 8 (and neither more or less)?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply