summaryrefslogtreecommitdiff
path: root/1427/CH34/EX34.21/34_21.sce
blob: dd4aa4be105faabcb83b3b1a02008b66e3d59771 (plain)
1
2
3
4
5
6
7
8
//ques-34.21
//Calculating calories of sunlight required to synthesise 1kg of carbohydrate
clc
QY=1/20;//molecules/photon
n=1000/30;//moles of carbohydrate
w=600;//wavelength (in nm)
q=(n*2.859*10^7)/(QY*w);
printf("The calories of sunlight required are %d.",q);