summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.5/25Ex5.sce
blob: bd51571279a3e874c5689b24d5f48f1c429fa9ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Ch25_Ex5
clc;
clear;
close;
lt=200; bt=150; //dimensions of tank
lp=1.5; bp=1.25; //dimensions of pipe
rise=2
speed=20*1000/60; //converting speed into meter/min
volreq=lt*bt*rise;
length1min=speed*1; //length of water column flown in 1 min
vol1min=lp*bp*length1min;
time=volreq/vol1min;
mprintf("The time required is %d min",time);