code: def rotate_point(xorigin, yorigin, x, y, angle):
      
      rotx = (x - xorigin) * np.cos(angle) - (y - yorigin) * np.sin(angle)
      roty = (x - yorigin) * np.sin(angle) + (y - yorigin) * np.cos(angle)
      return rotx, roty
docs: Rotate the given point by angle