summaryrefslogtreecommitdiff
path: root/3665/CH12/EX12.3/Ex12_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH12/EX12.3/Ex12_3.sce')
-rw-r--r--3665/CH12/EX12.3/Ex12_3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3665/CH12/EX12.3/Ex12_3.sce b/3665/CH12/EX12.3/Ex12_3.sce
new file mode 100644
index 000000000..b09b3d599
--- /dev/null
+++ b/3665/CH12/EX12.3/Ex12_3.sce
@@ -0,0 +1,18 @@
+clc//
+//
+//
+
+//Variable declaration
+s=1*10^-3; //size(m)
+l=1*10^-3; //length(m)
+lamda=650*10^-9; //wavelength(m)
+
+//Calculation
+tantheta=(l/2)/s;
+theta=atan(tantheta); //angle(radian)
+sintheta=(sin(theta));
+
+ss=0.6*lamda/sintheta; //spot size(m)
+
+//Result
+printf("\n spot size is %0.3f micro m",ss*10^6)