summaryrefslogtreecommitdiff
path: root/1844/CH4/EX4.8/4Q8.sce
blob: adcfb3fba6ba2524f08c435a16bb7156f67afcda (plain)
1
2
3
4
5
6
7
8
clc
AB=25 // in m from triangle ABD
AD=50 // in m from triangle ABD
angleBDA= atand (AB/AD)
angleBDC=320-230
angleADC=angleBDC-angleBDA
CA=AD*tand(angleADC) //from triangle ADC
printf('CA = %f m',CA)