Question 1105442: In three (3) years from now, Jenny’s grandfather will be six (6) times as old as Jenny was last
year. Presently, the sum of Jenny’s age and her grandfather’s age is 68. How old will Jenny and her grandfather be ten (10) years from now?
Write an Algorithm for the above question.
Answer by Theo(13342) (Show Source):
You can put this solution on YOUR website! G = grandfather's age today.
J = jennie's age today.
the sum of their ages is equal to 68.
G + J = 68
solve for G to get G = 68 - J
in 3 years jennie's grandfather will be 6 times as old as jennie was 1 year ago.
G + 3 = 6 * (J - 1)
subtract 3 from this equation to get G = 6 * (J - 1) - 3
distribute the multiplication to get G = 6 * J - 6 - 3
combine like terms to get G = 6 * J - 9
since G = 68 - J, replace G with 68 - J in this equation to get 68 - J = 6 * J - 9
add J to both sides of this equation and add 9 to both side of this equation to get 68 + 9 = 6 * J + J
combine like terms to get 77 = 7 * J
divide both sides of this equation by 7 to get 11 = J.
since G + J = 68 and J = 11, then G + 11 = 68.
solve for G to get G = 68 - 11 = 57
today, the grandfather is 57 and jennie is 11.
3 years from now, the grandfather will be 60.
1 year ago jennie was 10.
3 years from now, the grandfather sill be 6 * as old as jennie was 1 year ago.
the grandfather's age and jennie's age is currently 11 + 57 = 68
all the requirements of the problem have been satisfied, therefore the value of G and J are good.
you were asked what their ages will be 10 years from now.
10 years from now, the grandfather will be 57 + 10 = 67 and jennie will be 11 + 10 = 21.
|
|
|