The speed of sound in a ideal gas varies directly as its