summaryrefslogtreecommitdiff
path: root/3769/CH24/EX24.22/Ex24_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH24/EX24.22/Ex24_22.sce')
-rw-r--r--3769/CH24/EX24.22/Ex24_22.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH24/EX24.22/Ex24_22.sce b/3769/CH24/EX24.22/Ex24_22.sce
new file mode 100644
index 000000000..0d769336e
--- /dev/null
+++ b/3769/CH24/EX24.22/Ex24_22.sce
@@ -0,0 +1,13 @@
+clear
+//Given
+Rh=1.097*10**7 ///m
+h=6.63*10**-34
+c=3*10**8
+n=2.0
+n1=4.0
+
+//Calculation
+E=(h*c*Rh*(1/n**2-1/n1**2))/1.6*10**-19
+
+//Result
+printf("\n Minimum energy is %0.2f ev",E*10**38)