This preview shows pages 1–4. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: MIT OpenCourseWare http://ocw.mit.edu 6.055J / 2.038J The Art of Approximation in Science and Engineering Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms . Z Z 6.055J/2.038J (Spring 2008) Homework 6 Do the following warmups and problems. Due in class on Friday, 09 May 2008 . Open universe: Collaboration, notes, and other sources of information are encouraged. However, avoid looking up answers until you solve the problem (or have tried hard). That policy helps you learn the most from the problems. Bring a photocopy to class on the due date , trade it for a solution set, and figure out or ask me about any confusing points. Your work will be graded lightly: P (made a reasonable effort), D (did not make a reasonable effort), or F (did not turn in). Warmups 1. Integrals Use special cases of a to choose the correct formula for each integral. 2 a. e ax dx ( 1 .) a ( 2 .) / a 1 b. dx a 2 + x 2 ( 1 .) a ( 2 .) / a ( 3 .) a ( 4 .) / a 2. Debugging Use special (i.e. easy) cases of n to decide which of these two C functions correctly computes the sum of the first n odd numbers: int sum_of_odds (int n) { int i, total = 0; for (i=1; i<=2*n+1; i+=2) total += i; return total; } or int sum_of_odds (int n) { int i, total = 0; for (i=1; i<=2*n1; i+=2) total += i; return total; } Homework 6 / 6.055J/2.038J: Art of approximation in science and engineering (Spring 2008) 2 3. Reynolds numbers Estimate the Reynolds number for: a. a falling raindrop; b. a ying mosquito;...
View
Full
Document
This note was uploaded on 02/24/2012 for the course MECHANICAL 6.055J taught by Professor Sanjoymahajan during the Spring '08 term at MIT.
 Spring '08
 SanjoyMahajan

Click to edit the document details