Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on the use of numerical functions NIntegrate and NDSolve.
1
vote
1
answer
75
views
Solve PDE Numerically for only the inhomogeneous part
I want to solve
NDSolve[{D[H[r], r, r] + D[H[r], r]/r + k^2 H[r] == DiracDelta[r]/r}, H[r], r]
For only the inhomogeneous part. How would put this idea in terms of boundary conditions?
3
votes
0
answers
51
views
How to fix the inaccuracy of NDSolveValue [duplicate]
usol = NDSolveValue[{4 Derivative[2, 0][u][x, t] ==
Derivative[0, 2][u][x, t], u[x, 0] == Cos[x/2], u[0, t] == Cos[t],
2 Derivative[1, 0][u][6 Pi, t] == -Derivative[0, 1][u][6 Pi, t] …
3
votes
1
answer
5k
views
Plotting NIntegrate
Plot[E^(-0.5 x) NIntegrate[Cos[t] E^(Cos[t] + 0.5 t), {t, 0, x}], {x, 0, 40}]
Mathematica evaluates this integral for each point, which takes a long time. It is possible to iterate each time step wit …
12
votes
6
answers
2k
views
Integrate gives wrong results
Integrate[a/(Sin[t]^2 + a^2), {t, 0, 2 Pi}]
$$\int_0^{2 \pi } \frac{a}{a^2+\sin ^2(t)} \, dt$$
gives $0$
This cannot be true. What is going on?
If I insert a number into a, it gives a reasonable …