The Distance Between A Line And A Point - Casio fx-3650P Programming Manual

Programmable scientific calculator
Hide thumbs Also See for fx-3650P:
Table of Contents

Advertisement

20

The distance between a line and a point

The distance between a point
y
=
ax
+
b
, as in the diagram on the right, is given by the
formula:
ax y
AH
=
----------------------- -
1
+
ON
MODE
MODE
?→ X:?→ Y:?→ A:?→ B:√ ( (AX - Y + B) ÷ (1+ A
INPUT
X,Y: co-ordinates of the point
OUTPUT
D: the distance between the line
Calculate the distance between the point (3, 4) and the straight line
Prog
1
EXE
3
4
7
EXE
9
y
A x
( , )
+
b
2
a
MODE
EXE
EXE
and a straight line
PRGM
COMP
1
MODE
A
X, Y
(
) A : gradient B : y-intercept
y
A
B
=
x +
S A
S A
S A
M
A
(x, y)
1
1
) ) → D:D < 38 STEP >
A
X, Y
and the point
(
y
=
7x
+
P1 P1 P2 P3 P4
P1 P1 P2 P3 P4
P1 P1 P2 P3 P4
y=ax+b
H
)
9
.
D R
G
D R
G
D R
G
29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3950pFx-3950p

Table of Contents