summaryrefslogtreecommitdiff
path: root/2594/CH2/EX2.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2594/CH2/EX2.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2594/CH2/EX2.4')
-rwxr-xr-x2594/CH2/EX2.4/Ex2_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2594/CH2/EX2.4/Ex2_4.sce b/2594/CH2/EX2.4/Ex2_4.sce
new file mode 100755
index 000000000..75c220180
--- /dev/null
+++ b/2594/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,11 @@
+clc
+Eg=1.43*1.6*10^-19
+disp(" energy gap = "+string(Eg)+"Volt") //initializing the value of energy gap.
+h=6.624*10^-34
+disp(" plank constant = "+string(h)+"joule")//initializing the value of plank constant.
+c=3*10^8
+disp(" light speed = "+string(c)+"m/s") //initializing the value of speed of light.
+f=(Eg/h)
+disp("frequency of radiation emitted ,f=(Eg/h))= "+string(f)+" Hz ")//calculation
+lamda=(c/f)
+disp("wavelength of radiation emitted,lamda=(c/f))= "+string(lamda)+" metre ")//calculation