summaryrefslogtreecommitdiff
path: root/689/CH13/EX13.1/1.sce
blob: d6524c220f9aa26b93e696fd0d3fc31e255c9b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc; funcprot(0);
//Example 13.1 Struts

// Initialisation of variables
V = 100;
l = 6;
n = 4;
D_rnd = 3/4;
D_stln = 5/8;

// Calculations
Drag_rnd = 0.00026*D_rnd*V^2*l*n; 
Drag_stln = 0.0000175*D_stln*V^2*l*n; 

//Results 
disp(Drag_stln,"Drag due to streamlined struts(lb) :", Drag_rnd, "Drag due to round struts(lb) :");