Question: Lab #1: Introductory MatLab Problem. Refer to Fig.1. A fluid has absolute viscosity 0.0010 lbf.s/ft. Using MatLab, calculate the velocity gradient (dV/dy) and the intensity

Lab #1: Introductory MatLab Problem. Refer to Fig.1. A fluid has absolute viscosity 0.0010 lbf.s/ft. Using MatLab, calculate the velocity gradient (dV/dy) and the intensity of the shear stress (t) between the boundary and 3" from the boundary in 0.1" increments, assuming a parabolic velocity distribution given by: V 45 5(3 y)2 45 in /sec or F where r, Fig 1. Illustration of velocity gradient above a boundary for a straight-line and parabolic velocity distribution Procedure .Create a new MatLab Script file and save with an appropriately descriptive name Using the % symbols, add a comments section at the top of the script file including your Name, the date the script was written, and a brief explanation of what the script does. In the script file, create a vector of y values from 0 to 3" in 0.1" increments. Calculate values of V, dV/dy, & Create a new figure Use Subplot(2,1,1) .Plot y vs V in black with a dashed line andmarkers. Use Subplot(2,1,2) .Plot y vs t in black with a dashed line and'markers. Add suitable Titles and Label all axes including units. Note: It is good practice to comment the lines of your script with details so that you can remember what you did and why if you come back to this file at some later point in time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
