summaryrefslogtreecommitdiff
path: root/1388/CH10/EX10.11/10_11.sce
blob: 590491bdb185c1cef76907ad1774d0c39b70f278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
//initialisation of variables
pf2= 2.00 //mm Hg
y= 0.96 //mm Hg
Pn= 5 //mm Hg
//CALCULATIONS
pF2= pf2-y
pNO2= Pn-2*y
pNO2F= 2*y
//RESULTS
printf (' pressure of NO2= %.2f mm of Hg',pNO2)
printf (' \n pressure of NO2 after 30 sec= %.2f mm of Hg',pNO2F)