summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.4/Ex1_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.4/Ex1_4.sce')
-rw-r--r--3537/CH1/EX1.4/Ex1_4.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH1/EX1.4/Ex1_4.sce b/3537/CH1/EX1.4/Ex1_4.sce
new file mode 100644
index 000000000..6513d9c76
--- /dev/null
+++ b/3537/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,10 @@
+//Example 1_4
+clc;
+clear;
+//To find the ratio of maximum intensity to minimum intensity
+I1=10 //units in watts per square mts
+I2=25 //units in watts per square mts
+I1_I2=I1/I2
+a1_a2=sqrt(I1_I2)
+Imax_Imin=(a1_a2+1)^2/(a1_a2-1)^2
+printf("The ratio of maximum intensity to minimum intensity is %f",Imax_Imin) \ No newline at end of file