summaryrefslogtreecommitdiff
path: root/1172/CH1/EX1.12/Example1_12.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH1/EX1.12/Example1_12.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1172/CH1/EX1.12/Example1_12.sce')
-rwxr-xr-x1172/CH1/EX1.12/Example1_12.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1172/CH1/EX1.12/Example1_12.sce b/1172/CH1/EX1.12/Example1_12.sce
new file mode 100755
index 000000000..a687ee70a
--- /dev/null
+++ b/1172/CH1/EX1.12/Example1_12.sce
@@ -0,0 +1,12 @@
+clc
+//Given that
+D15=0.59// diameter of 15th newton’s ring in cm
+D5=0.336// diameter of 5th newton’s ring in cm
+R=100// radius of Plano convex lens in cm
+//Sample Problem 12 Page No. 51
+printf("\n # Problem 12 # \n")
+p=15-5
+printf(" \n Standard formula used \n D_a^2 – D_b^2 = 4*p*R*lambda \n")
+
+lambda=(D15^2 - D5^2)/(4*p*R)*1e8
+printf("\n Wavelength of light used is %d Angstrom.", lambda)