Question: how to calculate slope of a nonlinear curve?
Answer: Take the first derivative of the function whose slope you want to calculate. For example, for a line given by y = x^2 + 3x + 2, the first derivative equals 2x + 3. Identify a point where you want to calculate the slope. Suppose the slope is being determined at the point (5,5).