Homework_6

Homework_6 - Homework 6 - Due Wed. Oct. 11th Math 224 -...

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 6 - Due Wed. Oct. 11th Math 224 - Fall 2011 Dr. Mauro Maggioni Office hours : Tue 4-5, in office 293 Physics Bldg. Phone : 660-2825 Web page : www.math.duke.edu/mauro E-mail : 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 floating-point 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.

Page1 / 2

Homework_6 - Homework 6 - Due Wed. Oct. 11th Math 224 -...

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