def polar_force(
    magnitude: float, angle: float, radian_mode: bool = False
) -> list[float]:
    if radian_mode:
        return [magnitude * cos(angle), magnitude * sin(angle)]
    return [magnitude * cos(radians(angle)), magnitude * sin(radians(angle))]