这是关于年龄的问题。我不知道如何解决这个问题。请帮我。问题是
> A man is 5 times as old as his son. 2 years ago the sum of squares of > their ages was 11, 14. find the present age of son?
答案 0 :(得分:3)
不是一个编程问题..但是,嘿,我认为每个程序员都需要一些数学技能。
因为这看起来像是一个家庭作业问题。让我给你一些指示。
A man is 5 times as old as his son
儿子的年龄= x,男人的年龄= 5x
2 years ago the sum of squares of their ages was 1114 (I think)
(x-2) 2 +(5x-2) 2 = 1114
解决x !!