Step 1: Use the natural log
$w=-nRT\ln\frac{P_1}{P_2}=-1\times8.314\times300\times\ln10$.
$\ln10=2.303$, so
\[ w=-2494.2\times2.303=-5744\text{ J} \]
Step 2: Result
$w=-5.744$ kJ, option (A). The other values come from wrong constants or temperatures.
Final Answer:
$-5.744$ kJ, option (A).
\[ \boxed{\text{(A)}} \]