summaryrefslogtreecommitdiff
path: root/3665/CH12/EX12.2/Ex12_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH12/EX12.2/Ex12_2.sce')
-rw-r--r--3665/CH12/EX12.2/Ex12_2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3665/CH12/EX12.2/Ex12_2.sce b/3665/CH12/EX12.2/Ex12_2.sce
new file mode 100644
index 000000000..353be8717
--- /dev/null
+++ b/3665/CH12/EX12.2/Ex12_2.sce
@@ -0,0 +1,15 @@
+clc//
+//
+//
+
+//Variable declaration
+a1=4*10^-3; //diameter(m)
+a2=6*10^-3; //diameter(m)
+d1=1; //distance(m)
+d2=2; //distance(m)
+
+//Calculation
+theta=(a2-a1)/(2*(d2-d1)); //divergence(radian)
+
+//Result
+printf("\n divergence is %0.3f milli radian",theta*10^3)