summaryrefslogtreecommitdiff
path: root/3856/CH14/EX14.7/Ex14_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3856/CH14/EX14.7/Ex14_7.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3856/CH14/EX14.7/Ex14_7.sce')
-rw-r--r--3856/CH14/EX14.7/Ex14_7.sce37
1 files changed, 37 insertions, 0 deletions
diff --git a/3856/CH14/EX14.7/Ex14_7.sce b/3856/CH14/EX14.7/Ex14_7.sce
new file mode 100644
index 000000000..45c94d0ed
--- /dev/null
+++ b/3856/CH14/EX14.7/Ex14_7.sce
@@ -0,0 +1,37 @@
+//Calculate the Energy difference between the second orbital and first orbital of the electron and Calculate the Energy difference between the second orbital and first orbital for Nitrogen molucule
+
+//Example 14.7
+
+clc;
+
+clear;
+
+n1=1; //First quantum number
+
+n2=2; //Second quantum number
+
+m=9.109*10^-31; //Mass of the electron in kg
+
+h=6.626*10^-34; //Planck's constant in J s
+
+L1=0.10*10^-9; //Length of the box in m
+
+E1=((n1^2)*(h^2))/(8*m*L1^2); //Energy for the enectron of first orbital in J
+
+E2=((n2^2)*(h^2))/(8*m*L1^2); //Energy for the enectron of second orbital in J
+
+E3=E2-E1; //Energy difference second orbital and first orbital in J
+
+printf("(a)Energy difference second orbital and first orbital of the electron = %.1f*10^-17 J",E3*10^17);
+
+m1=4.65*10^-26; //Mass of the Nitrogen molucule in kg
+
+L2=10*10^-2; //Length of the box in m
+
+E4=((n1^2)*(h^2))/(8*m1*L2^2); //Energy for the enectron of first orbital in J
+
+E5=((n2^2)*(h^2))/(8*m1*L2^2); //Energy for the enectron of second orbital in J
+
+E6=E5-E4; //Energy difference second orbital and first orbital in J
+
+printf("\n(b)Energy difference second orbital and first orbital for Nitrogen molucule = %.1f*10^-40 J",E6*10^40);