summaryrefslogtreecommitdiff
path: root/3720/CH6/EX6.1/Ex6_1.sce
blob: 66162e627f8594af9bba7feaeace941a53f216e9 (plain)
1
2
3
4
5
6
7
8
9
//Example 6_1
clc;clear;
// Given values
y_0=0;// Lower limit of the integral 
y_1=1;// Upper limit of the integral

// Analysis
b=-4*integrate('(y^2)','y',y_1,y_0);
printf("The momentum-flux correction factor for fully developed laminar flow becomes %0.2f \n",b);