summaryrefslogtreecommitdiff
path: root/1844/CH4/EX4.7/4Q7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1844/CH4/EX4.7/4Q7.sce')
-rw-r--r--1844/CH4/EX4.7/4Q7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1844/CH4/EX4.7/4Q7.sce b/1844/CH4/EX4.7/4Q7.sce
new file mode 100644
index 000000000..572c470ba
--- /dev/null
+++ b/1844/CH4/EX4.7/4Q7.sce
@@ -0,0 +1,10 @@
+clc
+AC= 250 //in m
+AB= 200 // in m
+BD=125 // in m
+DC= 150 // in m
+CB=BD+DC // in m
+a= acos( (AC^2+CB^2-AB^2)/(2*AC*CB))
+AD=sqrt(AC^2+DC^2-2*AC*DC*cos(a))
+
+printf('AD = %f m',AD)