summaryrefslogtreecommitdiff
path: root/2144/CH8/EX8.9/ex8_9.sce
blob: 979f6f48f1185a6aa13135c2f2d04de76cd0a293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Exa 8.9
clc;
clear;
close;
// Given data
C = 0.82;// in kg
H2 = .12;// in kg
O2 = 0.02;// in kg
a = C/12;
b = H2/2;
y = (32*(a+(0.5*b))-O2)/0.23;
disp(y,"Minimum quantity of air in kg is");