I try to plot the current through a Resistor-Coil Network with the following function. The following variable are defined static outside the equation (I_Anker_max, f_T, t_ein) and don't matter to much anyway. The issue I am having is that with increasing range of nx the calculation time rises exponentially and I even think that I know why. In my opinion the reason is that every time the Loop starts it calculates the hole thing from scratch. Unfortunately I am quite new to Mathcad and don't have any idea how to solve that. I'd be glad if someone had an advise for me.
Best regards Andre
Here the equations, the problem is with the last function at the bottom of the sheet: