The work done is calculated using the formula:
\[ \text{Work} = \text{Force} \times \text{Distance} \times \cos(\theta) \]
where:
- Force is the force applied (in newtons),
- Distance is the distance over which the force is applied (in meters),
- \(\theta\) is the angle between the force and the direction of motion.
In this scenario, even though the person applies a force of 500 newtons against the wall, the wall does not move. This means that the distance over which the wall moves is zero. Since work is done only when there is a displacement in the direction of the applied force, the distance in this case is 0 meters.
Thus, the work done is:
\[ \text{Work} = 500 , \text{N} \times 0 , \text{m} \times \cos(0^\circ) = 0 , \text{joules} \]
Therefore, the correct answer is 0 joules.