Question: Why does a minor change in a parameter cause the cpu time for fsolve to increase dramatically?

The fsolve in the attached code took 45.615 sec to execute. For Delta >= 0.15 the execution time was only about 0.5 sec. For Delta = 0.12 and Delta = 0.11 the execution times were about 400 and 600 sec, respectively. Why does the execution time increase with orders of magnitude when I decrease Delta? And how can I speed up the process? Henning

Please Wait...