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)
|