This preview has intentionally blurred sections. Sign up to view the full version.
View Full 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.
 Winter '08
 LinZhi
 Math, Numerical Analysis

Click to edit the document details