Given two points (5000, 600000) and (10000, 800000), we can find the slope (m) of the cost function using the formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
\[ m = \frac{800000 - 600000}{10000 - 5000} \]
\[ m = \frac{200000}{5000} \]
\[ m = 40 \]
Show more…