summaryrefslogtreecommitdiff
path: root/1627/CH7/EX7.2/Ex7_2.sce
blob: 008f896d0a1af3927b34d7b1cc8a8b1478d22469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
//initialisation of variables
w=15//cm
w2=20//cm
a=5//cm
W=0.61*(%pi)*30//cm
d=706.5//cm^2
x=14.1*a//cm^2
//CALCULATIONS
S=a/w
A=(0.61*d)+x//cm^2
R=A/W//cm
//RESULTS
printf('The hydraulic radius is=% f cm',R)