diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1949/CH1/EX1.29/1_29.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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.')
|