作者foxiness (北极狐)
看板GRE_Verbal
标题Re: [讨论]问两题数学
时间Thu Oct 26 23:39:24 2006
※ 引述《CSL (原谅我的无能为力)》之铭言:
: 1.If y is the average(arithmetic mean) of
: n consecutive positive integers, n>1
: what is the sum of the greatest and least of
: these integers?
: 答案是2y
n consecutive positive integers:
a, a+1, a+2, a+3,....,a+k (n = k+1)
y = ( a + a+1 + a+2 + a+3 + ... + a+k ) / (k+1)
= ( a(k+1) + k(1+k)/2) / (k+1)
= a + k/2
the sum of the greatest and least = a + a + k = 2a + k = 2(a+k/2) = 2y
: 2. S is a set of n consecutive integers
: The mean of S The median of S
: 答案是C一样大
: 谢谢!!
n consecutive positive integers:
a, a+1, a+2, a+3,....,a+k (n = k+1)
(1) Assume k = odd n = k+1 = even
The mean of S = ( a + a+1 + a+2 + a+3 + ... + a+k ) / (k+1)
= a + k/2
The median of S = ((a+(k-1)/2) + (a+(k+1)/2)) /2
= (2a + k)/2
= a + k/2
(median:偶数个数就是两个中间数的平均数)
(2) Asuume k = even n = k+1 = odd
The mean of S = ( a + a+1 + a+2 + a+3 + ... + a+k ) / (k+1)
= a + k/2
The median of S = a + k/2
(median:奇数个数就是中间那个数)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 125.225.96.2
※ 编辑: foxiness 来自: 125.225.97.58 (10/27 16:32)
※ 编辑: foxiness 来自: 125.225.97.58 (10/27 16:33)