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 --- 3020/CH14/EX14.5/ex14_5.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 3020/CH14/EX14.5/ex14_5.sce (limited to '3020/CH14/EX14.5/ex14_5.sce') diff --git a/3020/CH14/EX14.5/ex14_5.sce b/3020/CH14/EX14.5/ex14_5.sce new file mode 100755 index 000000000..bce38fcaf --- /dev/null +++ b/3020/CH14/EX14.5/ex14_5.sce @@ -0,0 +1,13 @@ +clc; +clear all; +k = 1.38e-23; //Boltzmann constant +h = 6.62e-34; // Planck's constant +m = 9.1e-31; // Mass of an electron in Kg +L = 0.1e-9 ; // Length of potential wall in meters +nx = 1; // For the lowest energy level +ny = 1; // +nz = 2; // The higher energy level +E = (h^2*(nx^2+ny^2+nz^2))/(8*m*L^2);//Energy of electron in (1 1 2) state +disp('J',E,'Energy of electron in (1 1 2) state is') +T = (E*2)/(3*k); // Temperature of the system +disp('K',T,'Temperature of the system is') -- cgit