In surface plots, steep slopes result in large faces to be drawn. When using a colormap, matplot chooses the color on a per-face basis. This causes hard jumps in color even though the plotted function ...
Simply run the code, and there are some tests included. Calculating the yields based on the bond: Give the necessary parameters with the same structure given in the first part (initial parameters) ...