diff options
Diffstat (limited to '3869/CH2/EX2.13/Ex2_13.sce')
-rw-r--r-- | 3869/CH2/EX2.13/Ex2_13.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3869/CH2/EX2.13/Ex2_13.sce b/3869/CH2/EX2.13/Ex2_13.sce new file mode 100644 index 000000000..e59439bbd --- /dev/null +++ b/3869/CH2/EX2.13/Ex2_13.sce @@ -0,0 +1,20 @@ +clear +// +// +// + +//Variable declaration +b=0.8 //distance(mm) +a=0.16 //slit width(mm) +p1=1 +p2=2 +p3=3 + +//Calculation +nbyp=(a+b)/a //ratio of missing orders +n1=int(nbyp*p1) +n2=int(nbyp*p2) +n3=int(nbyp*p3) //missing orders + +//Result +printf("\n the orders %0.3f %0.3f %0.3f etc will be missing",n1,n2,n3) |