Rapid changes that are sometimes observed in stars might indicate that dynamical processes are taking place. From the timescales of such changes - usually oscillations with a characteristic period - we may roughly estimate the average density of the star. The sun has been observed to oscillate with a period of minutes, white dwarfs by periods of a few tens of seconds. Estimate the average density for the Sun and for white dwarfs.