Given,
The mean and variance of 12 observations be 29 and 4 respectively,
So, mean will be,
x¯=12x1+x2+……+9+10+…..+x12=29
⇒x1+x2……+x12+19=54
Now removing the observation 9 and 10 and adding the observation 7 and 14,
So, the new total sum of the observation will be,
x1+x2+……+x12+7+14=54−19+7+14
Now new mean will be,
12x1+x2+….+x12+7+14=1256
⇒x¯new=314
Now using the formula of the variance we get,
12x12+x22+……+x122+92+102−(29)2=4
⇒x12+x22+……+x122+92+102−81×3=4×12
⇒x12+x22+……+x122+92+102=291
Now removing 92 and 102 and adding 72 and 142 we get,
⇒x12+x22+……+x122+72+142=355
New variance =N∑xi2−(x¯)2
=12355−(314)2
=36281
Now on comparing with nm=36281 we get,
⇒m=281 and n=36
∴m+n=317