I keep getting this Recursion limit, Not sure how to fix it. Please advise
$RecursionLimit::reclim2: Recursion depth of 1024 exceeded during evaluation of Prepend[AmortizationTable,{Payment
Number
,Payment
,Interest
,Unpaid
Balance
Reduction
,Unpaid Balance
}].
Starting Mathematica, at least version 13.2, fresh and loading the notebook and evaluating the whole notebook once produces no recursion error for me.
Try exactly those steps and nothing else and see if you get the same.
There are some ways of writing code that can give that error, but I don’t see any of those in your notebook. Thus I’m wondering whether you might have done some previous assignments to variables and this doesn’t show up in the notebook you provided. Doing a single clean evaluation of the whole notebook might confirm it is ok.