diff options
Diffstat (limited to '3869/CH2/EX2.12/Ex2_12.sce')
-rw-r--r-- | 3869/CH2/EX2.12/Ex2_12.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3869/CH2/EX2.12/Ex2_12.sce b/3869/CH2/EX2.12/Ex2_12.sce new file mode 100644 index 000000000..5eae2205f --- /dev/null +++ b/3869/CH2/EX2.12/Ex2_12.sce @@ -0,0 +1,14 @@ +clear +// +// +// + +//Variable declaration +lamda=6000*10**-10 //wavelength(m) +a=12*10**-7 //slit width(m) + +//Calculation +theta=asin(lamda/a)*180/%pi //half angular width(degrees) + +//Result +printf("\n half angular width is %0.0f degrees",theta) |