about maths 10points
mr and mrs chan are an old couple
their ages differ by 1
if the sum of thrie ages is represented by a binary no.
then all digits of this binary no. are 1
find their ages.
please give me the solution
回答 (3)
∵In binary numbers,the numbers are represent in the follow way:
2^0=1,2^1=10,2^2=100,2^3=1000,etc.
∴If the digits of thebinary no.of the sum of their ages are 1,
the sum of their ages =(2^n)-1
∴Their ages are 2^(n-1) and 2^(n-1)+1 respectively
extra:
As they are an "old" couple,n should be greater than 6 & because few people can live over 100 years,
∴Their ages are 64 and 65 respectively(most probably)
2007-11-03 18:25:00 補充:
這個才對:∴Their ages are 2^(n-1) and 2^(n-1)-1 respectivelyextra:As they are an old couple,n should be greater than 6 & because few people can live over 100 years,∴Their ages are 64 and 63 respectively(most probably)
2007-11-05 12:34:05 補充:
其實這提沒有標准答案,只是因為他們是一對‘old couple’,所以才猜測應該是63和64歲。(所以其實extra那段沒甚麼意義,因為只是猜測,不夠嚴謹)
2007-11-05 12:34:37 補充:
打錯字,是題不是提
2007-11-09 17:42:16 補充:
發問者說...是甚麼意思?
收錄日期: 2021-04-13 14:19:19
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20071103000051KK03125
檢視 Wayback Machine 備份