A train traveling up an incline of 4 degrees travels a horizontal distance of 4 km. how much altitude has the train gain?