summaryrefslogtreecommitdiff
path: root/3685/CH20/EX20.6/Ex20_6.sce
blob: 2b294f86afbdc9280886fd60482caa0bd04c9fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
// Given that
no = 6 // No of cylinders
Vs = 1.75 // Stroke volume in litres
P = 26.25 // Power developed in kW
N = 506 // Speed in rpm
mep = 600 // Mean effectine pressure in kN/m^2
printf("\n Example 20.6\n")
n = P*60000/(no*mep*1000*Vs*(10^-3))
n_e = N/2
n_m = n_e - n
printf("\nAvg no of misfire = %d",n_m)