summaryrefslogtreecommitdiff
path: root/3828/CH3/EX3.2/Ex3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH3/EX3.2/Ex3_2.sce')
-rw-r--r--3828/CH3/EX3.2/Ex3_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3828/CH3/EX3.2/Ex3_2.sce b/3828/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..970fcd659
--- /dev/null
+++ b/3828/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,16 @@
+
+//Chapter 3 : Polarization
+
+clear;
+
+//Variable declaration
+lamda=6000 //wavelength in Armstrong
+
+//Calculations
+Ie=3/4
+Io=1/4
+Ratio=Ie/Io
+
+//Result
+mprintf("Ratio of the two intensities Ie:Io is %d or = 3:1",Ratio)
+