diff options
Diffstat (limited to '3756/CH2/EX2.9')
-rw-r--r-- | 3756/CH2/EX2.9/Ex2_9.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3756/CH2/EX2.9/Ex2_9.sce b/3756/CH2/EX2.9/Ex2_9.sce new file mode 100644 index 000000000..337b3fd00 --- /dev/null +++ b/3756/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,18 @@ +clc +// +// +// + +//Variable declaration +lambdaa=5000*10**-8 //Wavelength +invde=6000 //Diffraction element inverse + +//Calculations +sinetheta1=lambdaa*invde +sinetheta3=lambdaa*invde*3 +theta1=(180/%pi)*(asin(sinetheta1)) +theta3=(180/%pi)*(asin(sinetheta3)) +deltheta=theta3-theta1 + +//Result +printf("\n The Angular Difference is %2.1f Degrees",deltheta) |