Residence time distribution of plug flow in a finite packed-bed chemical reactor