Sometimes we cannot express a value exactly with a finite

Chapter 7, Problem P7.23

(choose chapter or problem)

Sometimes we cannot express a value exactly with a finite number of decimal or binary symbols. For example, we have 1/3 = 0.333333 or 4/33 = 0.12121212 in which the overbar indicates that the pattern repeats indefinitely. a. Convert 0.110 to binary form indicating the repeating pattern with an overbar. b. Repeat for 0.610. c. Perform the calculation (0.1 1024 102) 10 4 on your calculator. This should give the exact result, namely zero, because most calculators use BCD and the arithmetic is essentially decimal in nature. d. Repeat the calculation of part (c) with MATLAB. The result is not exactly zero because the calculations are carried out in binary with a finite number of bits, resulting in an approximate representation with roundoff error for 0.1. This error is magnified in the calculation

Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.

Becoming a subscriber
Or look for another answer

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back