blob: a8b4c11552dea4d50fc9dc8315d0b9098c7ce253 (
plain)
1
2
3
4
5
6
7
8
|
//ques-34.16
//Determining moles of HCl produced in given reaction
clc
w=480;//wavelength (in nm)
QY=10^6;//quantum yield
E=(6.023*10^23*6.626*10^-34*3*10^8)/(w*10^-9);
n=QY/E;
printf("The moles of HCl produced are %.3f.",n);
|