So in a volume of Resnick halladay's book adapted by Amit Gupta. There was a following derivation of variation of atmospheric pressure with height.
In the page 849, it was written from the ideal gas law $pV=RT $. Why not $nRT$? Wouldn't that be a more general case instead of using $n=$1 mole? Or does that mean anything about the slice of air being infinitesimally thin? I can't follow up
