This preview shows page 1. Sign up to view the full content.
Unformatted text preview: in the form x = k + d 1 10 + d 2 100 + d 3 1000 + d 4 10000 + d 5 100 , 000 + r, where k is a nonnegative integer, each d i is an integer between 0 and 9, and 0 5 r < . 00001. Application of Round 4 to x then produces 1 10000 Floor (10000 k + 1000 d 1 + 100 d 2 + 10 d 3 + d 4 + 1 10 ( d 5 + 5) + 10000 r ) . Then consideration of the two cases 0 5 d 5 5 4 and 5 5 d 5 5 9 will show that Round 4 produces the correct fourplace rounding of x in both cases. C01S01.056: Let Chop 4( x ) = 1 10000 Floor (10000 x ). Suppose that x > 0. Write x in the form x = k + d 1 10 + d 2 100 + d 3 1000 + d 4 10000 + r, where k is a nonnegative integer, each of the d i is an integer between 0 and 9, and 0 5 r < . 0001. Then Chop 4( x ) produces 1 10000 Floor (10000 k + 1000 d 1 + 100 d 2 + 10 d 3 + d 4 + 10000 r ) = 1 10000 (10000 k + 1000 d 1 + 100 d 2 + 10 d 3 + d 4 ) 10...
View
Full
Document
This note was uploaded on 09/14/2011 for the course MATH 101 taught by Professor Cheng during the Spring '11 term at Ecole Hôtelière de Lausanne.
 Spring '11
 CHENG
 Calculus, Integers

Click to edit the document details