Calculate Speed of Sound

Calculates and returns speed of sound from an equaiton of state inputed by the user.

speed_of_sound.speed_of_sound_calc(density, pressure)

Function that calculates the speed of sound by taking the gradient of the euqation of state. :param density: numpy 1Darray. :type density: array :param pressure: numpy 1Darray. :type pressure: array

Returns

numpy 1Darray.

Return type

speed_of_sound (array)