Slope is rise divided by run and percent is rise divided by run then multiply by 100 to change to % slope. As a check to your data, (3.2/40)*100 does equal 8%, so it is confirmed correct. You simply have a right triangle with height of 3.2, length of 40, and the length of the hypotenuse needs to be found to answer the question. The solution is sqrt(3.22+402) which is 40.1278 ft.
Time on horizontal, Distance on Vertical
The vertical axis gives the distance of an object from a fixed point - the point of reference - after a time, as measured on the horizontal axis.
If one of the two variables is independent (or explanatory) then it goes on the horizontal axis. Otherwise you do whatever you like.
On a horizontal number line, the distance is 0!
right triangle
Lines of longitude are vertical but they measure horizontal distance(In degrees,not kilometers or miles)between Greenwich Mean Time(GMT) and you so the lines are vertical,not horizontal. However,longitude measures horizontal distance,not vertical distance.
Time on horizontal, Distance on Vertical
The vertical axis gives the distance of an object from a fixed point - the point of reference - after a time, as measured on the horizontal axis.
Only the vertical height of the stairs is measured for work because it accounts for the change in potential energy associated with lifting oneself to a higher elevation against gravity. The horizontal distance does not significantly affect the amount of work done as it does not require overcoming any vertical displacement.
If one of the two variables is independent (or explanatory) then it goes on the horizontal axis. Otherwise you do whatever you like.
It is a measure of the average gradient or slope.
On a horizontal number line, the distance is 0!
right triangle
the two vertical and horizontal "legs" of a triangle. the other diagonal line is the hypotenuse.
hypotenuse
horizontal
vertical