WOLFRAM
|
DEMONSTRATIONS PROJECT
Distance from a Point to a Line
c
0
.
3
m
-
1
1
a
b
I
n
t
h
e
g
r
a
p
h
,
d
i
s
t
h
e
d
i
s
t
a
n
c
e
f
r
o
m
(
a
,
b
)
t
o
t
h
e
l
i
n
e
y
=
m
x
+
c
.
B
e
c
a
u
s
e
t
h
e
r
e
d
a
n
d
g
r
e
e
n
t
r
i
a
n
g
l
e
s
a
r
e
s
i
m
i
l
a
r
,
d
1
=
m
a
+
c
-
b
1
+
2
m
.