asked 140k views
4 votes
PLEASE SOMEONE HELP ME

Question 2 (6 points)

Jonny is writing a program for a video game.
For one part of the game he uses the
rule given below to move objects on the screen.

Showing all your work, give the output that the rule gives for the inputs.
(x, y) + (2 – 7.5, y + 6.8)
First input: (4.4.2.5)
Second input: (9.7, -2.9)

asked
User Cheeming
by
8.2k points

2 Answers

1 vote

Answer:

.

Explanation:

answered
User Probat
by
7.7k points
3 votes

Answer:

(-3.2 , 12.3)

(0.7 , 3.6)

Explanation:

The rule :

(x, y)→(x−7.5, y+6.8)

For the x - coordinate ; Subtract 7.5

For the y - coordinate `; add 6.8

First input : (4.3, 5.5)

Output :

x = 4.3 - 7.5 = - 3.2

y = 5.5 + 6.8 = 12.3

Output = (4.3, 5.5) →(-3.2 , 12.3)

Second input : (8.2, -3.2)

Output :

x = 8.2 - 7.5 = 0.7

y = - 3.2 + 6.8 = 3.6

Output = (8.2, -3.2)→(0.7 , 3.6)

The outputs obtained are :

(-3.2 , 12.3) and (0.7 , 3.6)

answered
User Hussain Rahimi
by
7.9k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.