summaryrefslogtreecommitdiff
path: root/1958/CH10/EX10.4/Chapter10_example4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1958/CH10/EX10.4/Chapter10_example4.sce')
-rwxr-xr-x1958/CH10/EX10.4/Chapter10_example4.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1958/CH10/EX10.4/Chapter10_example4.sce b/1958/CH10/EX10.4/Chapter10_example4.sce
new file mode 100755
index 000000000..18cc64977
--- /dev/null
+++ b/1958/CH10/EX10.4/Chapter10_example4.sce
@@ -0,0 +1,10 @@
+clc
+clear
+//Input data
+B=(3*3.14)/2//First secondary maxima at B
+
+//Calculations
+I=(sin(B)/B)^2//Ratio of intensity of central maxima to first secondary maxima
+
+//Output
+printf('Ratio of intensity of central maxima to first secondary maxima is %3.3f',I)