2,252 reputation
3513
bio website
location
age
visits member for 1 year, 8 months
seen Mar 28 at 12:38

Sep
19
asked Conditionally replace rows in lists
Sep
15
comment Using previous two solutions as a start point in FindRoot
Kguler, Thank you! Now I understand. awesome!
Sep
15
accepted Using previous two solutions as a start point in FindRoot
Sep
14
revised Using previous two solutions as a start point in FindRoot
Edited to try and implement a suggested line of solution
Sep
14
comment Using previous two solutions as a start point in FindRoot
Thanks belisarius. I had been trying to get While, NestWhileList etc to work but it wasn't until Kguler's response did I realize that NestWhiileList allows for the use of all the output previously generated.
Sep
14
comment Using previous two solutions as a start point in FindRoot
Hey Kguler,Thanks a lot. I understand in principle that if I set the fourth parameter in NestWhileList to be 2 then that enables me to use the previous 2 solutions in my "test" or also in the body of the "function" inside NestWhileList. However...I don't know how NestWhileList stores the previous 2 solutions and what I should refer to them as so I can call them inside my FindRoot. Can you please tell me how I do this? I've tried all combinations of #[[4]] or #[[4]][[2]] and all manners of things but I can't get it to work. The examples on the Wolfram website are too cryptic for a beginner.
Sep
14
asked Using previous two solutions as a start point in FindRoot
Sep
10
comment FindRoot inside Table
Also, if it's not too much trouble, can you please write in the comments the code that generated the gif with the solutions. The scaling is a great tip, thanks. I'll try and faithfully reproduce your code for my stuff. Thanks a lot!!!!!!
Sep
10
accepted FindRoot inside Table
Sep
10
comment FindRoot inside Table
PlatoManiac, can I have your babies?
Sep
9
comment FindRoot inside Table
MWE included with 3 values of Imported data.
Sep
9
revised FindRoot inside Table
added 1365 characters in body
Sep
9
comment FindRoot inside Table
Thanks RM. I will post a MWE. There is nothing mysterious in the imported file but data. Just 60 values each for $x_1,x_2,...,x_5$
Sep
9
asked FindRoot inside Table
Sep
9
comment FindRoot Infinite expression 1/0 encountered error
Thanks Artes. I will read that and if I still don't get it then I will ask a separate question about data structures.
Sep
9
accepted FindRoot Infinite expression 1/0 encountered error
Sep
9
comment FindRoot Infinite expression 1/0 encountered error
contd.. In my original question, I simply typed in the values of $x_{a9},..,x_{j9}$ when $i=9$ so it looked like A1, B1 etc were only functions of H1S.
Sep
9
comment FindRoot Infinite expression 1/0 encountered error
Hi Artes, Thanks for responding. The thing is that I have 10 variables, $\{x_a,..,x_j\}$ and for each of those variables I have say 60 pieces of data. So $x_a = \{xa_1,xa_2,..,xa_{60}\}$. Now $A1 = f(x_a,..,x_j,H1S)$ and same for B1 and c1. Now for each 10-tuple of data from the x's , I want to find a H1S that solves my non-linear equation and ultimately I want to wind up with 60 values of H1S. How should I define my A1s etc so I can Import the data on $\{x_a,..,x_j\}$ and just do all my FindRoots in a Table and get 60 values of H1S?
Sep
8
asked FindRoot Infinite expression 1/0 encountered error
Sep
8
accepted FindRoot Domain restriction