diff options
Diffstat (limited to '1844/CH3/EX3.7/3Q7.sce')
-rw-r--r-- | 1844/CH3/EX3.7/3Q7.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1844/CH3/EX3.7/3Q7.sce b/1844/CH3/EX3.7/3Q7.sce new file mode 100644 index 000000000..fa2081842 --- /dev/null +++ b/1844/CH3/EX3.7/3Q7.sce @@ -0,0 +1,13 @@ +clc
+k= 8 // slope between points in degrees
+l=428 //measured length in m
+D1=l*cosd(k)
+printf('a)Horizontal distance between the points =%f m\n',D1)
+
+h=62
+D2=sqrt(l^2-h^2)
+printf(' b)Horizontal distance between the points =%f m\n',D2)
+
+k= atan(0.25)
+D3=l*cos(k)
+printf(' c)Horizontal distance between the points =%f m',D3)
|