AD is perpendicular to BC so slope Ad = -1/slope of BC
Slope of BC = (2 - (-1)) / (- 6- 3) = 3 / -9 = -1/3
So slope of AD = -1 / (-1/3) = -3/-1 = 3 Answer
Franck's answer is better (using ~), but I just wanted to point out that the conditional in yours is slightly redundant. It's easy to forget that, since you already have a boolean value, you don't need to perform a comparison in your conditional. So you could have just done this...
<span>if x
x = false;
else
x = true;
<span>end</span></span>
Answer: (A) The image of JKL after a 90° counterclockwise about the origin is shown in figure 1. (B) The image of JKL after a reflection across the y-axis is shown in figure 2.
Explanation:
(A)
From the given figure it is noticed that the coordinate points are J(-4,1), K(-4,-2) and L(-3,-1).
If a shape rotate 90 degree counterclockwise about the origin, then,




Therefore, the vertex of imare are J'(-1,-4), K'(2,-4) and L'(1,-3). The graph is shown in figure (1).
(B)
If a figure reflect across the y-axis then,




Therefore, the vertex of imare are J''(4,1), K''(2,-4) and L''(3,-1). The graph is shown in figure (2).
Answer:
the answer is A {-5,-3,-1}