summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.25/Ex5_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.25/Ex5_25.sce')
-rw-r--r--3537/CH5/EX5.25/Ex5_25.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3537/CH5/EX5.25/Ex5_25.sce b/3537/CH5/EX5.25/Ex5_25.sce
new file mode 100644
index 000000000..404bbcf94
--- /dev/null
+++ b/3537/CH5/EX5.25/Ex5_25.sce
@@ -0,0 +1,12 @@
+//Example 5_25
+clc();
+clear;
+//To find the wavelength at which planes give rise to maximum intensity
+d=275 //units in pm
+theta=45 //units in degrees
+lamda=(2*d*sin(theta*%pi/180)) //units in pm
+n=3
+printf("\nFor n=3 lamda=%.2f",lamda/n)
+n=4
+printf("\nFor n=4 lamda=%.2f",lamda/n)
+printf("\nLamda lies beyond the range of wavelengths of polychromatic source")