Homework Solutions 1

# Homework Solutions 1 - &(341 5.2857.4285.1425.7125 × 5...

This preview shows pages 1–3. Sign up to view the full content.

Homework 1 1. Subtract 110111101-11101010 11 1 Borrow 110111101 - 11101010 ___________ 11010011 2. Construct table for 5-3-2-1 weighted code and write 9371 using the code: 5 3 2 1 0 0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 1 0 0 4 0 1 0 1 5 0 1 1 0 6 0 1 1 1 7 1 0 1 0 8 1 1 0 0 9 1 1 0 1 9371 1101 0100 1010 0001 9 3 7 1 3. Convert (375.54) 8 to Base 3 (375.54) 8 = 3 × 8 2 + 7 × 8 1 + 5 × 8 0 + 5 × 8 -1 + 4 × 8 -2 = 192 + 56 + 5 + .625 + .0625 = (253.6875) 10 3 253 3 84 1 3 28 0 3 9 1 3 3 0 3 1 0 0 1 (100101) 3 .6875 .0625 .1875 .5625 × 3 × 3 × 3 × 3 (2) 2 .0625 (0) 0 .1875 (0) 0 .5625 (1) 1 .6875 (.2001) 3 (375.54) 8 = (100101.2001) 3

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4. Convert (165.2) 7 to Base 5 and (143.21) 5 to Base 7 (165.2) 7 = 1 × 7 2 + 6 × 7 1 + 5 × 7 0 + 2 × 7 -1 = 149 + 42 + 5 + 2/7 = (96.2857) 10 5 96 5 19 1 5 3 4 0 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: & (341) 5 .2857 .4285 .1425 .7125 × 5 × 5 × 5 × 5 1.4285 2.1425 .7125 3.5625 1 2 0 3 & (.1203) 5 (165.2) 7 = (341.1203) 5 (143.21) 5 = 1 × 5 2 + 4 × 5 1 + 3 × 5 + 2 × 5-1 + 1 × 5-2 = 25 + 20 + 3 + 0.4 + 0.04 = (48.44) 10 7 48 7 6 6 6 & (66) 7 .44 .08 .56 .92 × 7 × 7 × 7 × 7 3.08 .56 3.92 6.44 3 0 3 6 & (.3036) 7 (143.21) 5 = (66.3036) 7 5. Subtract (a) 111 1 ⇐ Borrow 11001011 - 1110101 ___________ 1010110 (b) 1 1111 ⇐ Borrow 10010100 - 1001101 ___________ 1000111 (c) 1 11 ⇐ Borrow 111011011 - 10101101 ___________ 100101110 6. Is it possible to construct a 6-2-2-1 weighted code? What number does 1000110 represent in this code? 6 2 2 1 0 0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 0 1 1 0 5 0 1 1 1 6 1 0 0 0 7 1 0 0 1 8 1 0 1 0 9 1 0 1 1 1001 0110 ≡ 74...
View Full Document

## This note was uploaded on 10/28/2010 for the course EEN 304 taught by Professor Nigeljohn during the Spring '10 term at University of Miami.

### Page1 / 3

Homework Solutions 1 - &(341 5.2857.4285.1425.7125 × 5...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online