<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _geoid_radius(latitude: float) -> float: """Calculates the GEOID radius at a given latitude Parameters latitude : float Latitude (degrees) Returns ------- R : float GEOID Radius (meters) """

    lat = deg2rad(latitude)
    return sqrt(1/(cos(lat) ** 2 / Rmax_WGS84 ** 2 + sin(lat) ** 2 / Rmin_WGS84 ** 2))