summaryrefslogtreecommitdiff
path: root/3369/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3369/CH4/EX4.1/Ex4_1.sce
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 '3369/CH4/EX4.1/Ex4_1.sce')
-rwxr-xr-x3369/CH4/EX4.1/Ex4_1.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3369/CH4/EX4.1/Ex4_1.sce b/3369/CH4/EX4.1/Ex4_1.sce
new file mode 100755
index 000000000..4a9e91ba7
--- /dev/null
+++ b/3369/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,17 @@
+//Chapter 4, Exmaple 1, page 139
+//Claculate alpha and No. of electrons emmited
+clc
+clear
+//Claculate (a)alpha
+d2 = 0.01
+d1 = 0.005
+I2 = 2.7*10**-7
+I1 = 2.7*10**-8
+alpha = 1/(d2-d1)*log(I2/I1)
+//(b)number of electrons emmited from cathode per second
+I0 = I1*%e**(-alpha*d1)
+n0 = I0/(1.6*10**-19)
+printf("\n Part (a)\n alpha = %f m^-1",alpha)
+printf("\n Part (b)\n I0 = %e ",I0)
+printf("\n No of electrons emitted = %e electrons/s",n0)
+//Answer may vary due to round off error