summaryrefslogtreecommitdiff
path: root/2519/CH16/EX16.2/Ex16_2.sce
blob: 6a610fae156452059a0ca311187ce2651d101089 (plain)
1
2
3
4
5
6
7
8
9
clc
clear
//Initialization of variables
per=0.071
//calculations
O2=8.74
N2=per/2 + 3.76*O2
//results
printf("Oxygen = %.2f and Nitrogen = %.2f",O2,N2)