summaryrefslogtreecommitdiff
path: root/1466/CH6/EX6.3/6_3.sce
blob: 76ee4112810dfad2aa210a7f9092ce812f13de6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


clc
//initialisation of variables
clear
V= 80 //ft/sec
v= 40 //ft/sec
a= 30 //degrees
b= 20 //degrees
g= 32.2 //ft/sec^2
//CALCULATIONS
O= atand(V*sind(a)/(V*cosd(a)-v))
Vr= v/sind(O)
V1= Vr*sind(b/5)/sind(b)
W= v*(V*cosd(a)+V1*cosd(a))/g
e= W*2*g*100/V^2
//RESULTS
printf (' Velocity = %.2f ft/sec',V1+0.01)
printf (' \n Work done = %.1f ft-lb/sec',W+1)
printf (' \n Efficiency = %.1f per cent',e+1)