Interactive dynamic system: a simple interaction that does not work
Using Mathcad v11, I tried a simple interaction, to update variables according to the movement of time (t).
Two points that have drawn me crazy: I guess the second does not have easy solution.
- In the picture below, I cannot really understand why the code SA1 does not work, and stops with error at Ai-1. I shall notice that if I set t=1, it works. So the conditional "if" in SA1 seems ok. Can someone kindly explain what is the problem with t>1, while no problem is found in SA2 code?
- I made the error in another sheet - not in the one below - of setting my initial variables with the literal subscript (e.g. A.0) , even when the sbuscript is a number. I would like now to "Replace" A.0, with a proper numerical subscript. But MC does not accept a paste of Math text into the Replace Window, for such subscript. Is there another way to write it in the Replace Window? Thanks.



