Question #238765

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)

{"version":"1.1","math":"<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>(</mo><mi>x</mi><mo>,</mo><mo>&#xA0;</mo><mi>y</mi><mo>)</mo><mo>&#x2192;</mo><mo>(</mo><mi>x</mi><mo>-</mo><mn>7</mn><mo>.</mo><mn>5</mn><mo>,</mo><mo>&#xA0;</mo><mi>y</mi><mo>+</mo><mn>6</mn><mo>.</mo><mn>8</mn><mo>)</mo></math>"}

First input: (4.4, 2.5)

Second input: (9.7, -2.9)


1
Expert's answer
2021-09-20T18:19:23-0400

(x,y)(x7.5,y+6.8)(x, y)→(x−7.5, y+6.8)

First input: (4.4,2.5)\text{First input: } (4.4, 2.5)

First output:\text{First output:}

(4.4,2.5)(4.47.5,2.5+6.8)=(3.1,9.3)(4.4, 2.5)\to(4.4-7.5, 2.5+6.8)=(-3.1, 9.3)

Second input: (9.7,2.9)\text{Second input: } (9.7, -2.9)

Second output:\text{Second output:}

(9.7,2.9)(9.77.5,2.9+6.5)=(2.2,3.6)(9.7, -2.9)\to(9.7-7.5, -2.9+6.5)=(2.2, 3.6)


Answer:\text{Answer:}

First output: (3.1,9.3)\text{First output: }(-3.1, 9.3)

Second output: (2.2,3.6)\text{Second output: }(2.2, 3.6)


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS