The power emitted by a black body is given by the Stefan-Boltzmann law:
\[
P = \sigma A T^4
\]
Where:
- \( P \) is the power emitted,
- \( \sigma \) is the Stefan-Boltzmann constant,
- \( A \) is the surface area of the body,
- \( T \) is the temperature.
The surface area \( A \) of a sphere is given by \( A = 4 \pi R^2 \), so:
\[
P_1 = \sigma \times 4 \pi R_1^2 \times T_1^4
\]
\[
P_2 = \sigma \times 4 \pi R_2^2 \times T_2^4
\]
Since the two bodies emit the same power:
\[
P_1 = P_2
\]
Substituting the expressions for \( P_1 \) and \( P_2 \):
\[
\sigma \times 4 \pi R_1^2 \times T_1^4 = \sigma \times 4 \pi R_2^2 \times T_2^4
\]
Canceling out the common terms:
\[
R_1^2 \times T_1^4 = R_2^2 \times T_2^4
\]
Substituting the given values:
\[
(2)^2 \times (400)^4 = (4)^2 \times T_2^4
\]
Simplifying:
\[
4 \times 400^4 = 16 \times T_2^4
\]
\[
T_2^4 = \frac{400^4}{4}
\]
\[
T_2^4 = 300^4
\]
Taking the fourth root of both sides:
\[
T_2 = 300 \, \text{K}
\]
Thus, the temperature of the second body is \( 300 \, \text{K} \).