Correct Answer - Option 2 : 8
Concept:
1. Centroid of the triangle:
If (x1, y1), (x2, y2) and (x3, y3) are vertices of triangle then Centroid Formula is given by
\(x=\frac{{{x}_{1}}+{{x}_{2}}+{{x}_{3}}}{3}~\text{and}~y=\frac{{{y}_{1}}+{{y}_{2}}+{{y}_{3}}}{3}~\)
Calculation:
Given vertices of a triangle are:
(x1, y1) = (0, 4)
(x2, y2) = (- 2, 0)
(x3, y3) = (p, 2)
Centroid = (x, y) = (2, 2)
Using the centroid formula,
\(x=\frac{{{x}_{1}}+{{x}_{2}}+{{x}_{3}}}{3}~\text{and}~y=\frac{{{y}_{1}}+{{y}_{2}}+{{y}_{3}}}{3}\)
Equating the x- coordinates,
⇒ 2 = (0 - 2 + p)/3
⇒ (p - 2)/3 = 2
⇒ p - 2 = 2 × 3
⇒ p = 6 + 2
⇒ p = 8
Hence, the value of p = 8