已知一组数据为x,y,5,4,6,若这组数据的平均数为5,方差为2,求x-y的值
发布网友
发布时间:2022-05-30 05:45
我来回答
共1个回答
热心网友
时间:2023-10-11 06:00
(x+y+5+4+6)/5=5
(x-5)^2+(y-5)^2+(5-5)^2+(4-5)^2+(6-5)^2=2x2x5
x+y=10
(x-5)^2+(y-5)^2=18
(x-5)^2+(y-5)^2=x^2-10x+25+y^2-10y+25=x^2+y^2-10(x+y)+50=18
x^2+y^2 -10x10+50=18
x^2+y^2=68
(x+y)^2=x^2+y^2+2xy=100
2xy=32
(x-y)^2=x^2+y^2-2xy=68-32=36
x-y=6或-6