Math251_Quiz1Fall20072008

Math251_Quiz1Fall20072008 - AMERICAN UNIVERSITY OF BEIRUT...

Info iconThis preview shows pages 1–4. 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

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: AMERICAN UNIVERSITY OF BEIRUT Faculty of Arts and Sciences Mathematics Department MATH-CMPS 251 QUIZ I FALL 2007-2008 Closed Book, One hour 15 minutes SUBMIT THE QUESTION SHEET WITH BOOKLET (ONLY NON-PROGRAMMABLE AND NON-GRAPHIC CALCULATORS ARE ALLOWED) STUDENT NAME ID NUMBER Problem Out of Grade 1 10 2 8 3 8 4 8 5 16 TOTAL 50 1 1. (10 points) Answer the following: (a) Let x = 7 . 477 and y = 3 . 789 be 2 floating points in F = F (10 , 4 ,- 2 , +2). What is the relative Error in the computation of x ⊕ y in F ? (b) Let x = 0 . 3721448693 and y = 0 . 3720214371 What is the relative error in the computation of ( fl p ( x ) fl p ( y )) in F ? 2 2. (8 points) Answer the following: (a) Let x = [94 F 96 A 0] 16 . Is this a hexadecimal representation of some element in F s ? Justify your answer. (b) In case x ∈ F s , determine the decimal number that has this hex- adecimal representation in F s . Otherwise, modify x first, then find the required decimal number....
View Full Document

Page1 / 7

Math251_Quiz1Fall20072008 - AMERICAN UNIVERSITY OF BEIRUT...

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

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