Basic MATLAB script using ANY method you see fit! In water flow through pipes, there's resistance due to friction where the fluid "rubs" along the pipe walls. If you take the fluids course later, you'll learn the non-dimensional "friction factor" f depends on another non-dimensional velocity parameter called the "Reynolds number" Re. For very smooth walls, experiments determined the relationship to approximate: - - f=0.004,?f=16/Re,f=0.0791/(Re0.25), for Re>105? for Re?2100 for 2100<Re?105? This looks confusing, so you want to visualize f over a large range of Re using MATLAB, so ... Create a documented MATLAB function called FRICTION.m which does the following: - Make a vector Re with 51 logarithmically-spaced values between 100 and 1,000,000(i.e,102 to 106). That means Re will be the vector [10×110×210×3…10×51] where x1,×2,…,×51 are 51 linearly-spaced numbers between 2 and 6 inclusive. - Calculate the corresponding f vector (one element for each element in Re). - Plot log10?( Re) on the x-axis against f on the y-axis, connected with lines and circles. For example, use the following command: plot ( log10(Re),f? ' ?0?) Remember, when Re=100 then log10?(Re)=2. When Re=1,000,000 then log10?(Re)=6. - Titles the plot, labels the x - and y-axis, and makes a pdf of the plot called Fplot. pdf.