summaryrefslogtreecommitdiff
path: root/1427/CH34/EX34.18/34_18.sce
blob: 48f3c41b4043f5b79447349cebb850ec7f390b4a (plain)
1
2
3
4
5
6
7
8
9
10
//ques-34.18
//Calculating moles of CO formed
clc
w=302;//wavelength (in nm)
QY=0.54;
E1=15000;//energy absorbed (in erg/mol)
E=(1.196*10^15)/w;//energy of 1 einstein (in erg/mol)
n=E1/E;//number of einsteins absorbed
N=QY*n;
printf("Moles of CO formed are %.2f*10^-9.",N*10^9)