You can put this solution on YOUR website! Dependes: for a linear line or from derivitives?
Linear Line:
m = (y2 - y1)/(x2 - x1)
for (x1,y1) and (x2,y2)
You can put this solution on YOUR website! IF YOU HAVE 2 POINTS (4,-2)(5,8) OR (X1,Y1)(X2,Y2)
THEN THE SLOPE IS FOUND BY THE FRACTION (Y2-Y1)/(X2-X1)
THUS (8+2)/(5-4)
10/1=10 SO THE SLPE=10