1 2 3 4 5 6 7 8 9
clc //initialisation of variables v= 3.732*10^-7 //slug/ft sec y= 0 //CALCULATIONS vbyy= 40000*(1-50*y) q= v*vbyy //RESULTS printf (' viscous shear stress= %.4f lbf/ft^2 ',q)