Plot (X, Y)
and select the quadrant in which the point lies.
The graph is part of your answer.
Graph the point then select the quadrant that contains it.
Quadrant:
QUADRANT
graph.movablePoint.coord
if (guess[0] === 0 && guess[1] === 0) {
// TODO: Replace this string with "" when clues are added
return $._("Drag the orange point on the graph to the right position.");
}
return guess[0] === X && guess[1] === Y;
graph.movablePoint.setCoord(guess);
Coordinates are listed as (\blue{x},\green{y})
.
So, for ( \blue{X}, \green{Y} )
our x
-coordinate
is \blue{X}
and our y
-coordinate is \green{Y}
.
The x
-coordinate tells how far we move to the right from the origin and the
y
-coordinate tells us how far we move up from the origin.
Since our x
-coordinate is positive,
we move \blue{abs( X )}
to the right.
Since our x
-coordinate is negative,
we move \blue{abs( X )}
to the left.
Since our y
-coordinate is positive,
we move \green{abs( Y )}
up.
Since our y
-coordinate is negative,
we move \green{abs( Y )}
down.
Move the point to ( \blue{X}, \green{Y} )
at the marked point above.
Now that we have our point plotted, we can figure out the quadrant.
By convention, quadrants are named with a capital \text{Q}
and a roman numeral,
starting in the upper right quadrant as \text{QI}
and rotating counter-clockwise.
Since our point is in the upper right portion of the graph,
the quadrant is \purple{\text{QUADRANT}}
.
Since our point is in the lower right portion of the graph,
the quadrant is \purple{\text{QUADRANT}}
.
Since our point is in the upper left portion of the graph,
the quadrant is \purple{\text{QUADRANT}}
.
Since our point is in the lower left portion of the graph,
the quadrant is \purple{\text{QUADRANT}}
.