summaryrefslogtreecommitdiff
path: root/3537/CH3/EX3.5/Ex3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH3/EX3.5/Ex3_5.sce')
-rw-r--r--3537/CH3/EX3.5/Ex3_5.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3537/CH3/EX3.5/Ex3_5.sce b/3537/CH3/EX3.5/Ex3_5.sce
new file mode 100644
index 000000000..b38cb7675
--- /dev/null
+++ b/3537/CH3/EX3.5/Ex3_5.sce
@@ -0,0 +1,12 @@
+//Example 3_5
+clc();
+clear;
+//To calculate the wavelength for half wave plate
+t=0.9*10^-6 //units in meters
+u0=1.658
+ue=1.486
+lemda=(4*t*(u0-ue))
+printf("Thickness of half wave plate is %.10f meters",lemda)
+//To calculate the wavelength for half wave plate
+lemda=(2*t*(u0-ue))*10^9
+printf("\nThickness of half wave plate is %.1f mm",lemda)