summaryrefslogtreecommitdiff
path: root/3433/CH10/EX10.3/Ex10_3.sce
blob: fb2feaec5bc691f600aed5f500e9ce8660878e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear;
clc;
funcprot(0);

//given data
d = 30;//tip diameter in m
cx1 = 7.5;//in m/s
cx2 = 10;//in m/s
rho = 1.2;//in kg/m^3
a_ = 1/3;

//Calculations
P1 = 2*a_*rho*(%pi*0.25*d^2)*(cx1^3)*(1-a_)^2;
P2 = 2*a_*rho*(%pi*0.25*d^2)*(cx2^3)*(1-a_)^2;


//Results
printf('(i)With cx1 = %.1f m/s, P = %d kW.',cx1,P1/1000);
printf('\n(ii)With cx1 = %d m/s, P = %.1f kW.',cx2,P2/1000);