(AB)^2=(7-2)^2+(8-3)^2,AB=7.07
(BC)^2=(5-2)^2+(-1-3)^2,BC=5
(AC)^2=(-1-8)^2+(5-7)^2,AC=9.22
Heron's formula,半周長s=(7.07+5+9.22)/2=10.6
(area)^2=(10.6)(10.6-7.07)(10.6-5)(10.6-9.22)
area=17.0
L:3x+4y-12=0,L:y=-(3/4)x+3
x-intercept=4,y-intercept=3
since the intercept points and origin make right angle triangle
angle of stright line and x-axis=45
sin45=(shortest distance from origin)/4
shortest distance from origin=2.83
to make P intercept with line L, there is another stright line(R) perpendicular to L and pass through P
R:y=(4/3)x+c,c=13/3
we got y=-(3/4)x+3 and y=(4/3)x+13/3
line Land line R intercept at point(-16/25,87/25)
(shortest distance)^2=(-16/25-2)^2+(87/25-7)^2
shortest distance=4.46