HW3_solution

# HW3_solution - ECE 2504 Introduction to Computer...

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

ECE 2504 Introduction to Computer Engineering, Fall 2007 Homework 3 Due date: 14 Sep 07, 1:25pm Show all work. 1. Determine the decimal equivalent of the a 32-bit IEEE 754 floating point number C37B6800H. 1100 0011 0111 1011 0110 1000 0000 0000 1 10000110 11110110110100000000000 S=1 E=(10000110) 2 = (134) 10 F=11110110110100000000000 N= -1.11110110110100000000000 x 2 (134-127) = -1.11110110110100000000000 x 2 7 = -11111011.0110100000000000 = -(1+2+8+16+32+64+128+0.25+0.125+0.03125) 10 = -(251.40625) 10 2. A collision avoidance system requires a vertical separation of 500 ft. The altimeter in a westbound flight reports its altitude to be 47009800H. Altitude values are stored in 32-bit IEEE 754 floating point format. The altimeter in an overlapping southbound flight reports its altitude to be 46FDBD00H. Is the separation requirement met? Show how the calculations would be performed in binary, not in decimal. 47009800 0100 0111 0000 0000 1001 1000 0000 0000 0 10001110 00000001001100000000000 S=0 E=142 F=00000001001100000000000 1.0000000100110000 x 2 15 1000000010011000.0 Note: FYI this is (32920.0) 10 46FDBD00 0100 0110 1111 1101 1011 1101 0000 0000 0 10001101 11111011011110100000000 S=0 E=141 F=11111011011110100000000 1.111110110111101 x 2 14 111111011011110.1 Note: FYI this is (32478.5) 10 1000000010011000.0 - 0111111011011110.1 0000000110111001.1

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

View Full Document
OR in 2’s complement: 1000000010011000.0 01000000010011000.0 - 0111111011011110.1 + 11000000100100001.1 00000000110111001.1 (441.5) 10 No, the requirement is not met. 3. Write the logic equation for the variable F in the circuit below. Complete the truth table.
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 03/24/2008 for the course ECE 2504 taught by Professor Klcooper during the Fall '08 term at Virginia Tech.

### Page1 / 6

HW3_solution - ECE 2504 Introduction to Computer...

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

View Full Document
Ask a homework question - tutors are online