Math, Python, Simulation, Heat Equation, Numerical Analysis.
in Fig 4 for simplicity. Now that we know how to get our estimated tangent line, we can now use aforementioned slope formula to get its slope, and therefore the function’s derivative at that point. Slope formula We know our y values are simply going to be f(n+1) and f(n), so plugging in what we