summaryrefslogtreecommitdiff
path: root/3769/CH24/EX24.8
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3769/CH24/EX24.8
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 '3769/CH24/EX24.8')
-rw-r--r--3769/CH24/EX24.8/Ex24_8.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3769/CH24/EX24.8/Ex24_8.sce b/3769/CH24/EX24.8/Ex24_8.sce
new file mode 100644
index 000000000..560762879
--- /dev/null
+++ b/3769/CH24/EX24.8/Ex24_8.sce
@@ -0,0 +1,21 @@
+clear
+//Given
+n=1.0
+n1=2.0
+n2=3.0
+a=0.53*10**-10
+Z=3.0
+
+//Calculation
+r1=(a*n)/Z
+r2=(a*n1**2)/Z
+r3=(a*n2**2)/Z
+E1=(-13.6*Z**2)/n**2
+E2=(-13.6*Z**2)/n1**2
+E3=(-13.6*Z**2)/n2**2
+E=E3-E1
+
+//Result
+printf("\n (i) Radii of three lowest allowed orbits is %0.2f A %0.2f A and %0.3f A",r1*10**10,r2*10**10,r3*10**10)
+printf("\n (ii) Energy of three lowest allowed orbits is %0.3f ev %0.3f ev and %0.3f ev",E1,E2,E3)
+printf("\n Energy of the photon is %0.3f ev",E)