This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Homework 6  Due Wed. Oct. 11th Math 224  Fall 2011 Dr. Mauro Maggioni Office hours : Tue 45, in office 293 Physics Bldg. Phone : 6602825 Web page : www.math.duke.edu/mauro Email : mauro.maggioni at duke.edu Homework policies : as in homework 1. All the materials (code, figures, etc...) have to be turned in (as printouts!) with your homework, or the homework will not be graded. Assignment Study Lectures 15,16 in the book. Exercises These exercises are taken/adapted from Heaths book Scientific Computing: 1 . Write a program to compute the absolute and relative errors in Stirlings approximation n ! 2 n ( n/e ) n for n = 1 , . . . , 10. Does the absolute error grow or shrink as n increases? Does the relative error grow or shrink as n increases? 2 . In most floatingpoint systems, a quick approximation to the unit roundoff can be obtained by evaluating the expression machine  3 * (4 / 3 1) 1  ....
View
Full
Document
This note was uploaded on 01/16/2012 for the course MATH 224 taught by Professor Layton,a during the Fall '08 term at Duke.
 Fall '08
 Layton,A
 Math

Click to edit the document details