import math


def torque(r, f, theta):
    """
       Calculates the torque acting on an object
       where 'r' is the radius, 'f' is the force
       and 'theta' is the angle between 'r' and 'f'
      
       Parameters
       ----------
       r : float
       f : float
       theta : float
       
       Returns
       -------
       float
    """
    return r * f * math.sin(theta)