Fluid Mechanics Friction Problem: Write one MATLAB m-file thatsolves the Type I and II problems presented in class based on thefile posted for the Type III problem (use Colebrook to estimate f).Type I: Solve hL for v=0.74x10-5ft^2/s, D=3 in, L=1000 ft, e=0.006in, and Re=80000. f=0.0258 from Moody Chart. Type II: Solve Q forv=10^-6 m^2/s, D=0.2 m, L=500 m, e=0.046 mm, and hL=30m. Use“rough” Colebrook to generate an estimate for f.