Math, Python, Simulation, Heat Equation, Numerical Analysis.
and find its slope as shown below: Fig 2. point n and its tangent line in blue We run into an issue when we realize that since we don’t know the function f(x), then its impossible for us to take its derivative and find the slope of the tangent line. The finite difference method aims to fix this, by