diff options
Diffstat (limited to '3869/CH7/EX7.10')
-rw-r--r-- | 3869/CH7/EX7.10/Ex7_10.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3869/CH7/EX7.10/Ex7_10.sce b/3869/CH7/EX7.10/Ex7_10.sce new file mode 100644 index 000000000..f5c46d8bf --- /dev/null +++ b/3869/CH7/EX7.10/Ex7_10.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +h=1 +k=1 +l=0 +lamda=0.065 //wavelength(nm) +n=2 //order +a=0.26 //axial length(nm) + +//Calculation +x=n*lamda*sqrt(h**2+k**2+l**2)/(2*a) +theta=asin(x)*180/%pi //glancing angle(degrees) + +//Result +printf("\n glancing angle is %0.1f degrees",theta) |