154 reputation
5
bio website
location
age
visits member for 1 year, 7 months
seen Sep 14 at 10:55

Feb
24
comment Parallel numerically integrated function can't be plotted
@Szabolcs I tried that but my integrand is quite misbehaved and by some reason that method doesn't work. I thought of doing something like this: y = 0; temp = 0; f[xmin_?NumericQ, xmax_?NumericQ] := NIntegrate[u, {u, xmin, xmax}]; Plot[(temp += f[y, x]; y = x; temp), {x, 0, 1} ] But it doesn't work (I believe because of my inability with mathematica).
Feb
24
comment Parallel numerically integrated function can't be plotted
@wxffles Ups, just deleted the comma. Now that's weird, for me mathematica just throws those errors.
Feb
24
revised Parallel numerically integrated function can't be plotted
deleted 1 characters in body
Feb
24
comment Parallel numerically integrated function can't be plotted
@Szabolcs No, in my case it only uses one core. I had previously checked that when the integral doesn't have analytical solution my implementation is indeed faster, although weirdly it oscillates between 4% and 100% faster depending on the limits of the integration...
Feb
24
asked Parallel numerically integrated function can't be plotted
Feb
4
accepted Result of NIntegrate ploting to list
Feb
4
comment Result of NIntegrate ploting to list
Thank you very much for your patience. +1 to both your answers and a chosen correct answer. Thank you, once again.
Feb
3
comment Result of NIntegrate ploting to list
Very nice approach to understand what's going on behind the scenes. Thank you. I still wonder, though, why the extra terms on the list from my example.
Feb
3
revised Result of NIntegrate ploting to list
added 21 characters in body
Feb
3
comment Result of NIntegrate ploting to list
I believe that indeed works. But could you help me understand your solution, specifically, the part ...[[1,1,2][r]]?
Feb
3
revised Result of NIntegrate ploting to list
edited body
Feb
3
asked Result of NIntegrate ploting to list
Aug
25
comment Use output of NDSolve as an integration limit of NIntegrate
@Blackbird Based on your suggestion I figured out what was wrong with my approach. Thank you very much for your time.
Aug
25
accepted Use output of NDSolve as an integration limit of NIntegrate
Aug
25
comment Use output of NDSolve as an integration limit of NIntegrate
I believe that your approach is correct. I've figured out what was wrong with mine. I just had to equal the upper limit expression to a variable, say $\text{x}$. And then in NIntegrate use $\text{x[[1]]}$ for the upper limit. But certainly your approach is very interesting and I foresee that I'll check it out oftentimes. Thank You very much
Aug
25
revised Use output of NDSolve as an integration limit of NIntegrate
edited body
Aug
25
comment Use output of NDSolve as an integration limit of NIntegrate
@Blackbird Just edited to include the complete code. The function $\text{z[t]}$ shall not matter for the error.
Aug
25
revised Use output of NDSolve as an integration limit of NIntegrate
added 755 characters in body
Aug
25
comment Use output of NDSolve as an integration limit of NIntegrate
@Nasser ups. Yes \sqrt is Sqrt[]. I copied as Latex before used the 'code' command and left that artifact.
Aug
25
asked Use output of NDSolve as an integration limit of NIntegrate