1,370 reputation
621
bio website
location
age
visits member for 2 years, 3 months
seen 4 hours ago

Mar
29
comment Setting the DifferenceOrder Option
In the name of completion and all that, I was able to reproduce results in this paper by increasing the "MaxStepFraction" to 150. That generated a grid of 151x151 which seemed well and good for the nonlinear partial differential equation as described in the paper..
Mar
28
comment NIntegrate is resetting my variables and not giving me a result?
@SjoerdC.deVries Hmm thats all food for thought. I'll carefully read my code and try to understand your constructive comments in that perspective.
Mar
28
comment NIntegrate is resetting my variables and not giving me a result?
This is the answer. However, I couldn't ever have known of the _?NumericQ thingy! I'll have to look it up. Aah, the trials and tribulations of being a paper and pencil engineer!
Mar
28
accepted NIntegrate is resetting my variables and not giving me a result?
Mar
28
comment NIntegrate is resetting my variables and not giving me a result?
@SjoerdC.deVries Oh...you are saying x,y,z are local to NDSolve? It does make sense.. But this has actually worked on this? I am not a mathematician at all neither am I into programming so I don't have your keen eye to say that this is ugly! :)
Mar
28
revised NIntegrate is resetting my variables and not giving me a result?
Provided error message.
Mar
28
revised NIntegrate is resetting my variables and not giving me a result?
deleted 2 characters in body
Mar
28
comment NIntegrate is resetting my variables and not giving me a result?
@rcollyer did that. Still is an ugly mass of text. Boy mathematica sure can be an ugly environment. Anyway...
Mar
28
revised NIntegrate is resetting my variables and not giving me a result?
Tried to reduce the quantity of text.
Mar
28
comment NIntegrate is resetting my variables and not giving me a result?
@R.M Yes, I realize that. I don't know where else I could post the code itself so as to focus on the problem that the code is stricken by here! :(
Mar
28
comment What does MaxStepFraction do?
This makes sense, thank you.
Mar
28
asked NIntegrate is resetting my variables and not giving me a result?
Mar
28
accepted What does MaxStepFraction do?
Mar
28
revised What does MaxStepFraction do?
Correcting an error.
Mar
28
comment What does MaxStepFraction do?
@F'x I apologize. I am getting careless. I meant MaxStepFraction and NOT MaximumStepFraction. I've also included some more thoughts about this option in EDIT 2.
Mar
28
revised What does MaxStepFraction do?
edited body
Mar
28
revised Setting the DifferenceOrder Option
There was also a syntax error in my mathematica program. I thought adding the "syntax" tag would draw attention to that.
Mar
28
accepted Setting the DifferenceOrder Option
Mar
28
comment Setting the DifferenceOrder Option
Yes thats exactly what I did -- set the "MaxDifferenceOrder"->1. I find that now, I get better convergence than the authors by decreasing the "MaxStepFraction". Forgive me as I am a sophomore at mathematica and I did post a further question about "MaxStepFraction" here! :( but I am getting closer to understanding NDSolve better.
Mar
28
asked What does MaxStepFraction do?