The pressure at a given height in the atmosphere is related to temperature and height by the equation:
\[
P = P_0 \exp \left( \frac{-g \cdot M \cdot z}{R \cdot T_0} \right),
\]
where:
- \( P \) is the pressure at height \( z \),
- \( P_0 \) is the surface pressure,
- \( g \) is the acceleration due to gravity,
- \( M \) is the molar mass of air,
- \( R \) is the gas constant,
- \( T_0 \) is the temperature at the surface.
We are given that \( P = \frac{P_0}{2} \), and by solving for \( z \), we find:
\[
z \approx 4450 \, \text{m}.
\]
Thus, the value of \( z \) is \( 4450 \, \text{m} \).