diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2780/CH7/EX7.10 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2780/CH7/EX7.10')
-rwxr-xr-x | 2780/CH7/EX7.10/Ex7_10.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2780/CH7/EX7.10/Ex7_10.sce b/2780/CH7/EX7.10/Ex7_10.sce new file mode 100755 index 000000000..9d871e800 --- /dev/null +++ b/2780/CH7/EX7.10/Ex7_10.sce @@ -0,0 +1,14 @@ +clc
+//to calculate wavelength
+h=6.6*10^-34 //plank's constant in J/sec
+m=9.1*10^-31 //mass of electron in kg
+c=3*10^8 //light speed in m/s
+lambda=h/(m*c)
+disp("wavelength of quantum of radiant energy is lambda="+string(lambda)+"m")
+//to calculate number of photons
+power=12 //power emitted by the lamp =150*(8/100) in watts
+E=12 //energy emitted per second
+lambda=4500*10^-10
+energy=(h*c)/lambda //energy contained in one photon in J
+number=E/energy
+disp("number of photons emitted per sec is number="+string(number)+"unitless")
|