# User Portlet Josh Wofford
Discussions
I have written an error function to compare simulated values to experimental data, but I also want to have a least squares fitting. I know that Mathematica has a function for it, I'm just not sure how that function can compare to what I want. The...
Indeed this all has given me some good ideas. I appreciate your help and suggestions Bill. Thank you
I have a group of equations that I was solving pretty consistently with NDsolve. I added a couple more to add complexity to this model, and it all went haywire. I've stared at the code for a couple hours now and I have no idea where it went wrong....
So I have a system of ODEs that I am solving through NDSolve, and I can plot them in mathematica, but I am curious how to get the x and y values used in the plotsfor manipulation in programs like excel. Here is the code I am currently working with....
Thanks, can't believe it was only a typo but thanks for loaning me a second pair of eyes to look at it.
Nevermind, found a difference in the equations, so problem solved.
Clear["Global'*"]; Table[khi = 74; ro2 = 3400; kmrs = 8; kisu = 0; kmp = .05; kros = .05; kres = 8.333; kccc1 = 19; k23 = 17; kvp = 0.04; kc = 21; nc = 5; km = 80; nm = 4.5; km2 = 350; nm2 = 4.5; kv1 = 17;...
Oh I didn't realize that. Your first solution is working rather well, but I will jot this down as well if I want to shorten the code a little bit down the road. To answer the rmsd being a legitimate value of NDSolve, it's not a variable like the...
I am having trouble with this loop I am running. For the second row, the last column should be reading .130004, but instead it is reading a value on the order of 10^11. I believe I have comitted a logic error in assigning something but can't figure...
[mcode]Clear["Global'*"]; errortrial1 = Table[ro2 = 3400; kmrs = 70; kisu = 1.4; kmp = .5; kres = 25;   kccc1 = 38; k23 = 16; kvp = .04; kc = 21; nc = 5; km1 = 24; nm1 = 3;   km2 = 15; nm2 = 4.5; kv1 = 17; nv1 = 6; kv2 = 200; nv2 = 4;   k32 = 18;...