summaryrefslogtreecommitdiff
path: root/3647/CH12/EX12.3/Ex12_3.sce
blob: 198ffbb3f1ba4a9906ec1d7c3d7a626efd9f23cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;

clc
//initialisation of variables
h=4//ft
h1=3.24//ft^3/min
d=0.785//in
v=5.26//ft^3/min
//CALCULATIONS
Cd=h1/v//ft
C=1/4*%pi*(d)^2/(1/4*%pi*(1)^2)//ft^3
V=Cd/C
//RESULTS
printf('the coefficients of discharge velocity and contraction=% f',V)