summaryrefslogtreecommitdiff
path: root/3869/CH1/EX1.4/Ex1_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH1/EX1.4/Ex1_4.sce')
-rw-r--r--3869/CH1/EX1.4/Ex1_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3869/CH1/EX1.4/Ex1_4.sce b/3869/CH1/EX1.4/Ex1_4.sce
new file mode 100644
index 000000000..3bf16c219
--- /dev/null
+++ b/3869/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+I1=10 //intensity(Wm**-2)
+I2=25 //intensity(Wm**-2)
+
+//Calculation
+a1bya2=sqrt(I1/I2)
+ImaxbyImin=(a1bya2+1)**2/(a1bya2-1)**2 //ratio of maximum intensity to minimum intensity
+
+//Result
+printf("\n ratio of maximum intensity to minimum intensity is %0.3f ",ImaxbyImin)