Investigate the gradient of an interval

This is for student to investigate the gradient of an interval and for them to develop a general gradient formula.

[i]m[/i] is the gradient of the interval AB. Use the sliders on the right to change the coordinates of A and B and see what it does to the gradient. 1)What happens to [i]m[/i] when the interval is horizontal? 2)What happens to [i]m[/i] when the interval is vertical? 3)What happens to the interval when [i]m=0[/i]? 4)What happens to the interval when [i]m>0[/i]? 5)What happens to the interval when [i]m<0[/i]? 6)How is [i]m[/i] calculated? 7)Come up with a general rule to find the gradient between any 2 points.