diff options
Diffstat (limited to '3756/CH2/EX2.4/Ex2_4.sce')
-rw-r--r-- | 3756/CH2/EX2.4/Ex2_4.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3756/CH2/EX2.4/Ex2_4.sce b/3756/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..d8d57c616 --- /dev/null +++ b/3756/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,16 @@ +clc +// +// +// + +//Variable declaration +lambdaa=5000*10**-8 //Wavelength +theta=30 //Angular Width + +//Calculations +thetarad=(%pi/180)*(theta) +sinetheta=sin(thetarad) +e=(lambdaa)/(sinetheta) + +//Result +printf("\n The Width of the slit is %0.4f cm",e) |