<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def inc_from_lat(lat):
 """ Calculate inclination predicted from latitude using the dipole equation Parameter lat : latitude in degrees Returns ------- inc : inclination calculated using the dipole equation """

    rad = old_div(np.pi, 180.)
    inc = old_div(np.arctan(2 * np.tan(lat * rad)), rad)
    return inc