Time-dependent Analysis of Spherical Accretion onto Black Holes