summaryrefslogtreecommitdiff
path: root/3411/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH1/EX1.1/Ex1_1.sce')
-rw-r--r--3411/CH1/EX1.1/Ex1_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3411/CH1/EX1.1/Ex1_1.sce b/3411/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..35a68a85b
--- /dev/null
+++ b/3411/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,12 @@
+//Example 1.1
+clc();
+clear;
+//To calculate the location of screen from slits
+d=0.08 //units in cm
+d=d*10^-2 //units in mts
+betaa=6*10^-4 //units in mts
+v=8*10^11 //units in kHz
+c=3*10^8 //units in mts
+lamda=c/(v*10^3) //units in mts
+d=(betaa*d)/lamda //units in mts
+printf("The distance of the screen from the slits is %.2fmts",d)