diff options
Diffstat (limited to '3756/CH2/EX2.8/Ex2_8.sce')
-rw-r--r-- | 3756/CH2/EX2.8/Ex2_8.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3756/CH2/EX2.8/Ex2_8.sce b/3756/CH2/EX2.8/Ex2_8.sce new file mode 100644 index 000000000..5dbb133ca --- /dev/null +++ b/3756/CH2/EX2.8/Ex2_8.sce @@ -0,0 +1,17 @@ +clc +// +// +// + +//Variable declaration +n=2 //order of spectral line +theta=30 //Angular Width +invde=5000 //Inverse of diffraction element + +//Calculations +thetarad=(%pi/180)*(theta) +sinetheta=sin(thetarad) +lambdaa=((sinetheta)/(n*invde))*10**8 + +//Result +printf("\n The Wavelength is %i Angstrom",lambdaa) |