Summary
Full Transcript
Over the last 5 chapters we have written MATLAB code to compute and plot the Darcy-Weisbach friction factor for a given Reynolds number and value of the relative roughness. Here we build upon our code from Chapter 5 to plot the friction factor. Starting with that code, we will vectorize our function and put two functions in a file to improve the calculation. We add a range of generalizations that could be extended if desired. This is Exercise 6.5 from my text "Introduction to Chemical Engineering Computation with MATLAB." A copy of the M-files created during the screen cast may be found below: https://drive.google.com/file/d/1-Wj5psL_jnY7h5yduaSTOA86hVIQc1kk/view?usp=drive_link https://drive.google.com/file/d/1-iBj4SKtrNI6MSP0Maau6F2-sPAN9Mlb/view?usp=drive_link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subscribe: https://www.youtube.com/c/AndrewPaluch?sub_confirmation=1
