summaryrefslogtreecommitdiff
path: root/3537/CH3/EX3.5/Ex3_5.sce
blob: b38cb76750dfa7ddd7d239b48eb17d23b8bab96f (plain)
1
2
3
4
5
6
7
8
9
10
11
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)