def vel_final_dist_helper(initial_velocity, acceleration, dist):
    """
    Calculates the final velocity given the initial velocity, acceleration and the distance traveled. And is a helper
    function to be called by vel_final_dist()
    
    :param initial_velocity: Integer initial velocity
    :param acceleration: Integer acceleration
    :param dist: Integer distance traveled
    
    :return: final velocity
    """
    vel = (initial_velocity ** 2 + 2 * acceleration * dist) ** 0.5
    return vel