This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Mathematics 387 Assignment 1 Assignment 1. Computer Arithmetic & Bisection Method Due 4pm Thursday 2nd February 2012 Instructions You must submit a hardcopy of your solutions (which the grader will grade). You should also electronically submit any computer code you write, as well as the output. See webct for full instructions. Questions 1) Consider a computer MiniX with the following specifications: base β = 10, 1 exponent digit e (with − 5 = e min ≤ e ≤ e max = 4), and 4 mantissa digits (including the leading digit, so machine numbers are of the form d 1 .d 2 d 3 d 4 × β e ) a) Using round off, find the representations ˜ x , ˜ y (as machine numbers) of x = − 122 . 04 and y = . 54626 on SuperX. b) Perform the following calculation on MiniX: (˜ x ⊗ ˜ y ) ⊖ ˜ y . You do not have to write the result in machine number form. c) Find the absolute and relative errors of the calculation in b)....
View Full Document
- Fall '10
- Philosophy, Bisection Method, minix, relative errors, ﬁnd accurate approximations, 4-digit rounding arithmetic