Unable to understand question in Week5 additional assignments Exercise2 problem 1

Please explain the problem statement, unable to understand the problem,
also not sure of possible input values and is there any in built functions to be used to find slope …
$.> Remember : $\lim_{\Delta x \to 0} \frac{f(x_a + \Delta x) - f(x_a)}{\Delta x}$

Hi Menaka,
In this question, you have to write a function in python which is capable of finding the slope of any mathematical function on any point. You can try to solve that but if you faced any other problem while solving that, you can refer the solution which I’ve attached below.

If still, you have any doubts regarding the question, you can ask again.

1 Like