physicsthermodynamicsundergradexercisecetztikz
Exercise illustration: Compute the pressure of an ideal gas in three dimensions upon a wall at x=0x = 0x=0 that attracts molecules at large distance and repels them at smaller distance. Let the force be given by the potential U(x)=−A e−αx+B e−2αxU(x) = -A \, e^{-\alpha x} + B \, e^{-2 \alpha x}U(x)=−Ae−αx+Be−2αx, with A,B>0A,B > 0A,B>0.