hw1 - Homework 1 Math 471 Fall 2007 Assigned Friday...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Homework 1 Math 471, Fall 2007 Assigned: Friday, September 7, 2007 Due: Friday, September 14, 2007 • Include a cover page • Clearly label all plots using title , xlabel , ylabel , legend • Use the subplot command to compare multiple plots • Include printouts of all Matlab code and outputs, labeled with your name, date, etc. (1) (Finite precision numbers) The floating point representation of a real number takes the form x = ± (0 .a- 1 a- 2 ...a- n ) β · β e , where a- 1 6 = 0,- M ≤ e ≤ M . Suppose that β = 2, n = 4, and M = 5. (a) Find the smallest and largest positive numbers that can be represented in this floating point system. Give your answers in decimal form. (b) Find the floating point number in this system that is closest to √ 2. (2) (Programming) Implement the following algorithm for converting a decimal number to its binary equivalent x = ( a n a n- 1 ...a ) 2 ....
View Full Document

This note was uploaded on 04/02/2008 for the course MATH 471 taught by Professor Linzhi during the Winter '08 term at University of Michigan.

Page1 / 2

hw1 - Homework 1 Math 471 Fall 2007 Assigned Friday...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online