diff options
Diffstat (limited to '3756/CH2/EX2.16/Ex2_16.sce')
-rw-r--r-- | 3756/CH2/EX2.16/Ex2_16.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3756/CH2/EX2.16/Ex2_16.sce b/3756/CH2/EX2.16/Ex2_16.sce new file mode 100644 index 000000000..8796e3db4 --- /dev/null +++ b/3756/CH2/EX2.16/Ex2_16.sce @@ -0,0 +1,16 @@ +clc +// +// +// + +//Variable declaration +lambdaa=5000*10**-10 //Wavelength +theta=30 //Angular Width +dtheta=0.01 + +//Calculations +thetarad=((%pi/180)*(theta)) +dlambda=((lambdaa*cos(thetarad))/(sin(thetarad)))*10**8 + +//Result +printf("\n The difference between the two wavelengths is %2.1f Angstrom",dlambda) |