Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(c) Why does MATLAB report 10-323 as 9.8813e-324 as opposed to 1.0000e-323 ? (Hint: Is 10-323 a normal number or a subnormal num- ber in

image text in transcribed

(c) Why does MATLAB report 10-323 as 9.8813e-324 as opposed to 1.0000e-323 ? (Hint: Is 10-323 a normal number or a subnormal num- ber in double precision?|| (d) One can check (but you don't have to) that MATLAB report 10^(-217) * 10^20 * 10^197 - 1 as 0, and if 217, 197 above are replaced with n, n 20 with n = 1, ...,300 then MATLAB reports this values as within 2.2204 x 10-16; this seems reasonable, since this reflects roughly 53-bits of pre- cision. But why does MATLAB report 10^(-317) * 10^20 * 10^297 - 1 as 2.3069e-07? [Hint: Are any of the numbers in this line of code subnormal?] (c) Why does MATLAB report 10-323 as 9.8813e-324 as opposed to 1.0000e-323 ? (Hint: Is 10-323 a normal number or a subnormal num- ber in double precision?|| (d) One can check (but you don't have to) that MATLAB report 10^(-217) * 10^20 * 10^197 - 1 as 0, and if 217, 197 above are replaced with n, n 20 with n = 1, ...,300 then MATLAB reports this values as within 2.2204 x 10-16; this seems reasonable, since this reflects roughly 53-bits of pre- cision. But why does MATLAB report 10^(-317) * 10^20 * 10^297 - 1 as 2.3069e-07? [Hint: Are any of the numbers in this line of code subnormal?]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Accounting questions