The marks obtained by the students in physics and in mathematics are as follows.
Marks in Physics | 35 | 23 | 47 | 17 | 10 | 43 | 9 | 6 | 28 |
Marks in Mathematics | 30 | 33 | 45 | 23 | 8 | 49 | 12 | 4 | 31 |
Marks of Physics (X) |
Marks in Maths(Y) |
XY |
X2 |
Y2 |
35 23 47 17 10 43 9 6 28 |
30 33 45 23 8 49 12 4 31 |
1050 759 2115 391 80 2107 108 24 868 |
1225 529 2209 289 100 1849 81 35 784 |
900 1089 2025 529 64 2401 144 16 961 |
∑X=218,∑Y=235,∑XY=7502,∑X2=7102,∑Y2=8129
N=09
Cov(x,y)=∑XYN−∑XN.∑YN=750209−2189.2359=201.08
σx=√∑X2N−(∑X2N)2=√710209−(21809)2=14.22
σy=√∑Y2N−(∑Y2N)2=√812909−(2359)2=14.88
r=Cov(x,y)σx.σy=201.0814.22×14.88=0..95