• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering.
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Coming soon.
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models.

Coefficients for finite difference approximation in Python (meth. of undetermined coefficients)


New Member
Dear Daniel. I believe my question is pretty straightforward: I have a function in Matabl, I want a similar one in Python.


New Member
Thank you Daniel..
Educational purpose only.. I am in quarantine from work so I have deicded to spend time learning numerical analysis. I managed to buy a copy of
Randy LeVeque -- Finite Difference Methods for ODEs and PDEs (the only book available at the university bookshop close to my home in Denmark, Copenhagen.)

I am simply trying to play around the concepts introduced in chapter 1 but I don't have Matlab license (too expensive).

Daniel Duffy

C++ author, trainer
Last edited: