summaryrefslogtreecommitdiff
path: root/3841/CH4/EX4.10/Ex4_10.sce
blob: b73aa58e637c74739571da9f1331721bf1e9f03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
//given
//find out power required to do in three cases:
//
w=150.
d=8.
Work=w*d
printf("\n \n work necesary  %.2f ft-lb",Work)

//case(1)
t1=2.
power=Work/t1
Horsepower=power/550.
printf("\n \n powe requiered  for time  %.2f ft-lb",power)
//case(2)
t2=8.
power=Work/t2
Horsepower=power/550.
printf("\n \n for power requiered at t2  %.2f ft-lb per sec",power)