diff options
Diffstat (limited to '1949/CH1/EX1.29/1_29.sce')
-rwxr-xr-x | 1949/CH1/EX1.29/1_29.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1949/CH1/EX1.29/1_29.sce b/1949/CH1/EX1.29/1_29.sce new file mode 100755 index 000000000..bbe75b916 --- /dev/null +++ b/1949/CH1/EX1.29/1_29.sce @@ -0,0 +1,16 @@ +//Chapter-1,Example 1_29,Page 1-50
+clc()
+
+//As Dn^2=4*n*R*lam.
+//thus, Dn is directly proportional to sqaure root of n
+D5=sqrt(5) //D5 is directly proportional to sqaure root of 5
+D4=sqrt(4) //D4 is directly proportional to sqaure root of 4
+k1=D5-D4
+printf('Separation between D5 and D4 is directly proportional to =%.3f \n',k1)
+
+D80=sqrt(80) //D80 is directly proportional to sqaure root of 80
+D79=sqrt(79) //D79 is directly proportional to sqaure root of 79
+k2=D80-D79
+printf(' Separation between D80 and D79 is directly proportional to =%.3f \n \n',k2)
+
+printf(' Thus, (D80-D79) < (D5-D4).\n Hence proved.')
|