summaryrefslogtreecommitdiff
path: root/3669/CH14/EX14.7/7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH14/EX14.7/7.sce')
-rw-r--r--3669/CH14/EX14.7/7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3669/CH14/EX14.7/7.sce b/3669/CH14/EX14.7/7.sce
new file mode 100644
index 000000000..21bf9989a
--- /dev/null
+++ b/3669/CH14/EX14.7/7.sce
@@ -0,0 +1,13 @@
+
+//Variable declaration
+lamda=500*10**-9; //wavelength(m)
+n=10;
+D10=2*10**-3; //diameter(m)
+
+//Calculation
+r10=D10/2; //radius(m)
+R=D10**2/(4*n*lamda);
+t=r10**2/(2*R); //thickness(m)
+
+//Result
+printf('thickness is %0.3f micro m \n',t*10**6) \ No newline at end of file