Question 1192854: In video games, images are drawn on the screen using x,y-coordinates. The origin, (0, 0), is in the lower-left corner of the screen. An image of an animated character moves from its position at (8, 5) through a distance of 12 units along a line at an angle of 25 to the horizontal. What are the new coordinates?
I found one side and used the law of cosines to get 5.31 for the x coordinate, but I am not sure how to get the y coordinate. The sides I have are 9.43, 12, and 5.31.
Found 2 solutions by greenestamps, ikleyn: Answer by greenestamps(13200) (Show Source):
You can put this solution on YOUR website!
I don't know what you did to "find one side"; and I don't know how the law of cosines would be used in solving this problem....
The displacement from the starting point (8,5) is 12 units in a direction 25 degrees above the horizontal. The displacements in the x and y directions are 12*cos(25) and 12*sin(25), respectively. The new coordinates are
x: = 18.88 to 2 decimal places
y: = 8.07 to 2 decimal places
ANSWER (to 2 decimal places): (18.88, 8.07)
Answer by ikleyn(52787) (Show Source):
You can put this solution on YOUR website! .
In video games, images are drawn on the screen using x,y-coordinates.
The origin, (0, 0), is in the lower-left corner of the screen.
An image of an animated character moves from its position at (8, 5)
through a distance of 12 units along a line at an angle of 25 to the horizontal.
What are the new coordinates?
I found one side and used the law of cosines to get 5.31 for the x coordinate,
ut I am not sure how to get the y coordinate. The sides I have are 9.43, 12, and 5.31.
~~~~~~~~~~~~~~~~~~
For x-coordinate: x = 8 + 12*cos(25°).
For y-coordinate: y = 5 + 12*sin(25°).
That's all.
------------
Having these formulas, complete calculations on your own.
Solved.
|
|
|