Math, Python, Simulation, Heat Equation, Numerical Analysis.
one, but lets see if we can get any closer by using n and n-1 instead. Fig 5. Estimated tangent line between n and n-1 drawn in green and compared to actual tangent line drawn in blue. Seems about the same, but we could get even closer by drawing a line between n-1 and n+1: Fig 6. Estimated tangent