import math


def rotate(x,y, angle):
    """Transform coordinate (x,y) by angle
    angle is in radians not in degrees. 
    """
    new_x = x*math.cos(angle) - y * math.sin(angle)
    new_y = x*math.sin(angle) + y * math.cos(angle)
    return new_x, new_y