blob: b2beeef696c414f59c527c520a8ed4ca32527aad (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
B= 90 //from diagram in degrees
BC=200 // in m
CD=BC/cosd(60) // in m from triangle BCD
CE=BC/cosd(45) // in m from triangle BCE
BE=BC*tand(45) // in m
printf('CD = %f m\n',CD)
printf(' CE = %f m\n',CE)
printf(' BE = %f m',BE)
|