202k views
4 votes
QUICK ANSWERS PLEASE

Abdulla is writing a program for a video game. For one part of the game he uses the rule: (x,y)  (x + 5, - y) to move objects on the screen.
(a) What output does the rule give when the input is (5, 3)? Show your work.
(b) What output does the rule give when the input is (-2, 7)? Show your work.

QUICK ANSWERS PLEASE Abdulla is writing a program for a video game. For one part of-example-1

2 Answers

5 votes

Part a

Use (x + 5, -y) for the input.

(5, 3) becomes (5 + 5, -3) = (10, -3).

Part b

Use the same rule.

(-2, 7) becomes (-2 + 5, -7) = (3, -7).

Done.

User Znaneswar
by
5.2k points
3 votes

Answer:

Part a)

The output is: (10,-3)

Part b)

The output is: (3,-7)

Explanation:

The rule which is used to transform is:

(x,y) → (x + 5, - y)

This means that the x-coordinate is shifted 5 units to the right and the y coordinate is negated.

Part a)

If we give the input as: (5,3)

Then the output will be:

(5,3) → (5+5,-3)

i.e.

(5,3) → (10,-3)

Part b)

Now, again when we input the value as: (-2,7)

Then the output will be:

(-2,7) → ( -2+5,-7)

i.e.

(-2,7) → (3,-7)

User Johowie
by
4.7k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.