yankme
contestada

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)→(x−7.5, y+6.8)
First input: (4.3, 3.5)

Second input: (8.2, -3.2)

Respuesta :

Answer: 86

Step-by-step explanation:

fichoh

Applying the coordinate rules for the output, the output for the given inputs are :

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

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)

Learn more : https://brainly.com/question/21349742?referrer=searchResults