diff options
Diffstat (limited to '3651/CH2/EX2.9/Ex2_9.sce')
-rw-r--r-- | 3651/CH2/EX2.9/Ex2_9.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3651/CH2/EX2.9/Ex2_9.sce b/3651/CH2/EX2.9/Ex2_9.sce new file mode 100644 index 000000000..c0b3ac401 --- /dev/null +++ b/3651/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,14 @@ +clc
+
+
+
+//Variable declaration
+d=1.18
+theta=90*%pi/180
+lamda=1.540
+
+//Calculations
+n=(2*d*sin(theta))/lamda
+
+//Result
+printf('n =%0.3f \n',(n))
|