HW2_spring09 - BIL108E...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: BIL108E IntroductiontoScientificandEngineeringComputing Homework2 Spring09 Writeamfilefunctionthattakes/DandReasinputsandreturnsthevalueoffthat satisfiestheColebrookequation / D 2.51 1 = -2log 10 + 3.7 Re f f where f is the Darcy friction factor, /D is the relative roughness of the pipe material, and Re is the Reynolds number based on the pipe diameter D. An initial guessattherootcanbeobtainedfrom 6.9 / D 1.11 f = 1.8log 10 + Re 3.7 WhichisanapproximateformulaforthefthatsatisfiestheColebrookequation.Find fforthefollowingcombinationsof/DandRe CRN20583 /D=0, Re=5000 CRN20584 /D=0.0001, Re = 3 105 CRN20585 /D=0.0001, Re = 5 107 CRN20586 /D=0.03, Re = 1 104 CRN20587 /D=0.01, Re = 3 105 CRN20588 /D=0.001, Re = 3 105 CRN2285922939 /D=0.006, Re = 1 104 -2 ...
View Full Document

This note was uploaded on 05/12/2010 for the course MATH 123 taught by Professor Sait during the Spring '09 term at Istanbul Technical University.

Ask a homework question - tutors are online