summaryrefslogtreecommitdiff
path: root/3756/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3756/CH2/EX2.3/Ex2_3.sce')
-rw-r--r--3756/CH2/EX2.3/Ex2_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3756/CH2/EX2.3/Ex2_3.sce b/3756/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..9cb7255be
--- /dev/null
+++ b/3756/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,16 @@
+clc
+//
+//
+//
+
+//Variable declaration
+e=0.14 //width of the slit
+y=1.6 //Distance of center of dark band from middle of central bright band
+n=2 //no. of dark band
+D=2 //Distance from the slit
+
+//Calculations
+lambdaa=((e*y)/(D*n))*10**5
+
+//Result
+printf("\n The Wavelength is %i Angstrom",lambdaa)