Question: Loop doesn't stop

First problem:

I have the following loop within some longer code. If I execute the worksheet, the loop gets stuck in the "print(within*loop)" section and never stops. 

Second problem:

If I don't restart the sheet, Equation 3 doesn't do the 'subs' command properly. Also, if I put the "with(Package)" commands in the beginning, Equation3  also fails to do the subs properly. 




Please Wait...