Answer
$n=0.0388$ mol
Work Step by Step
We know that the ideal gas equation is
$PV=nRT$
We rearrange this equation to make $n$ the subject of the formula:
$n=\frac{PV}{RT}$
Next, we convert the temperature from degrees to Kelvin:
$T=C^{\circ}+273K=40+273=313K$
Now, we substitute the values in the re-arranged ideal gas equation above to find the number of moles:
$n=\frac{1.01\times10^5(1000\times10^{-6}m^3)}{8.31(313)}=0.0388$ mol