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

//given data
P = 20;//power required in kW
cx1 = 7.5;//steady wind speed in m/s
rho = 1.2;//density in kg/m^3
Cp = 0.35;
eta_g = 0.75;//output electrical power
eff_d = 0.85;//electrical generation efficiency

//Calculations
A2 = 2*P*1000/(rho*Cp*eta_g*eff_d*cx1^3);
D2 = sqrt(4*A2/%pi);

//Results
printf('The diameter = %.1f m.',D2);