<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _sin(x):
    '''sine with case for pi multiples'''
    return 0. if np.isclose(np.mod(x, np.pi), 0.) else np.sin(x)