summaryrefslogtreecommitdiff
path: root/1286/CH3/EX3.15/3_15.sce
blob: 1f3d3294d2f95c917cb4ec03bf4f0e7148c55bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//initialisations
m=5//kg
m1=2.09*10^8
val=10^7//cal/kg
p=0.12
//calculations
w=p*m1/(60*60)
H=w/746
//results
printf(' average horse power= % 1f',H)