def find_instantaneous_slope(original_function, x): dy=original_function(x+0.001)-original_function(x-0.001) dx=0.002 return dy/dx