Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2621 > unrolled thread

Re: NDSolve with NIntegrate for a PDE where the unknown function is integrated wrt its variables

Started byValeX <rjovale@gmail.com>
First post2011-05-22 10:59 +0000
Last post2011-05-22 10:59 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: NDSolve with NIntegrate for a PDE where the unknown function is integrated wrt its variables ValeX <rjovale@gmail.com> - 2011-05-22 10:59 +0000

#2621 — Re: NDSolve with NIntegrate for a PDE where the unknown function is integrated wrt its variables

FromValeX <rjovale@gmail.com>
Date2011-05-22 10:59 +0000
SubjectRe: NDSolve with NIntegrate for a PDE where the unknown function is integrated wrt its variables
Message-ID<iraqa9$ltb$1@smc.vnet.net>
Perhaps like this
>
> A[r_] = r^-1; B[r_] = r + 10;
> ClearAll[f]
> f[t_, y_, r_?NumberQ] := NIntegrate[A[r1] *y, {r1, 1, r}]
>
> NDSolve[{
>    Derivative[0, 1][Yg][r, t] == B[r]/Yg[r, t] + f[t, Yg[r, t], r],
>    Yg[r, 0] == r,
>    Yg[1, t] == 1,
>    Yg[10, t] == 10
>    }, Yg, {r, 1, 10}, {t, 0, 0.3}, SolveDelayed -> True]
>
> You'd need to add the right boundary conditions.

thanks, but i dont think that this would work as one should call
instead of f[t, Yg[r, t], r] the expression with r1, f[t, Yg[r1, t],
r], which i dont think mathematica can interpret correctly

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web