summaryrefslogtreecommitdiff
path: root/2120/CH1/EX1.7/ex1_7.sce
blob: 283bd9b0255c887e0abd6e1fa47df3e5f08ce787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Exa 1.7
clc;
clear;
close;
// Given data
// mass of 1 litr of water is 1 kg. so
m = 5000;// in kg
h = 10-1;// in m
g= 9.81;//
PE = m * g * h;// in N m
PE = PE*10^-3;// in kj
Eta = 0.85;
// Eta = energy output/energy input
E_input = PE/Eta;// in Kj
E_input = E_input*10^3;// in J
t = 45;// time in min
t = t*60;// in sec
P = E_input/t;// in J/s
P = P*10^-3;// in kW
disp(P,"Power required for the feed pump in kW is :");