slope formula.:
m = (y_2 - y_1) / (x_2 - x_1)
so you just need two points from whatever function you have
Or if you already have the function formula, then just the number of the first term (if your function is this: y=ax^2 + bx + c then the a is the slope)
Hope this helps!