summaryrefslogtreecommitdiff
path: root/3782/CH9/EX9.5
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3782/CH9/EX9.5
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3782/CH9/EX9.5')
-rw-r--r--3782/CH9/EX9.5/Ex9_5.sce38
1 files changed, 38 insertions, 0 deletions
diff --git a/3782/CH9/EX9.5/Ex9_5.sce b/3782/CH9/EX9.5/Ex9_5.sce
new file mode 100644
index 000000000..d50fd881e
--- /dev/null
+++ b/3782/CH9/EX9.5/Ex9_5.sce
@@ -0,0 +1,38 @@
+
+//ch-9 page 308 pb-5
+//
+
+//
+
+l1=150.5,l2=200,l3=125,
+
+t1=50.25,t2=30.5,t3=60.5,
+
+
+
+L1=-l1*cos(t1*(%pi/180))
+L2=-l2*cos(t2*(%pi/180))
+L3=-l3*cos(t3*(%pi/180))
+printf("\n latitudes of BQ,QP,PA are %0.3f %0.3f %0.3f",L1,L2,L3)
+
+
+D1=l1*sin(t1*(%pi/180))
+D2=-l2*sin(t2*(%pi/180))
+D3=-l3*sin(t3*(%pi/180))
+printf("\n Depature of BQ,QP,PA are %0.3f %0.3f %0.3f",D1,D2,D3)
+
+L4=-(L1+L2+L3)
+D4=-(D1+D2+D3)
+
+l4=sqrt(L4*L4+(D4*D4))
+
+printf("\n length of AB= %0.3f meters',l4)
+
+t4=atan(D4/L4)
+t4=t4*(180/%pi)
+printf("\n bearing of AB= %0.3f ",t4)
+
+PAB=t3-t4
+QBA=t1+t4
+
+printf("\n PAB= %0.3f QBA= %0.3f ",PAB,QBA)