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&10 and adding the observation 7&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 {9}^{2}&{10}^{2} and adding {7}^{2}&{14}^{2} 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