summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.15/Ex1_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.15/Ex1_15.sce')
-rw-r--r--3537/CH1/EX1.15/Ex1_15.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3537/CH1/EX1.15/Ex1_15.sce b/3537/CH1/EX1.15/Ex1_15.sce
new file mode 100644
index 000000000..1b1bc836b
--- /dev/null
+++ b/3537/CH1/EX1.15/Ex1_15.sce
@@ -0,0 +1,12 @@
+//Example 1_15
+clc();
+clear;
+//To find the diameter of the 5th bright ring
+n=5
+lemda=5460 //units in angstroam
+lemda=5460*10^-8 //units in cm
+u=1.50
+f=400 //units in cm
+R=(u-1)*2*f
+D=sqrt(2*(2*n-1)*lemda*R)
+printf("The diameter of the 5th fringe %.2f mts",D)