From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3369/CH4/EX4.1/Ex4_1.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 3369/CH4/EX4.1/Ex4_1.sce (limited to '3369/CH4/EX4.1/Ex4_1.sce') 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 -- cgit