summaryrefslogtreecommitdiff
path: root/3841/CH7/EX7.6/Ex7_6.sce
blob: 74900ac7d0b00c5e07925384237ecf94cd26bba2 (plain)
1
2
3
4
5
6
7
8
clear
//find the mechanical efficency of the diesel engine
//fid we set forth constant
fhp=19
bhp=57/2.
ihp=bhp+fhp
Bhp=(bhp/ihp)*100
printf("\n \n mechanical efficeny %.2f bhp",Bhp)