1 2 3 4 5 6 7 8
clc BE=60 //in m GD=BE GH=40 HB=80 HD=GH+GD CB=48/0.4// by solving similar triangles CHD and CBE printf('CB = %f m',CB)