summaryrefslogtreecommitdiff
path: root/689/CH2/EX2.9/9.sce
blob: 2eaa7755d6a9525f925e0815758a870ceecbac9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 2.9  Flow around a circular cylinder

// Initialisation of variables
P0 = 2116.2;
U = 100;
rho = 0.002378;
theta = 15;

// Calculations
P = P0 + rho*U^2*(1 - 4*sind(theta)^2)/2;

//Results 
disp(P,"Pressure at a point on the surface of cylinder (lb/sq-ft)");