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.
3
votes
Accepted
1D Integral always evaluates to 0 and Replace All
You're right that it's a delayed evaluation problem! I traced the problem back to Eigenvectors. Note that it behaves differently when given symbolic arguments and numeric ones:
Eigenvectors[hMf[0.01, …
2
votes
Accepted
What's wrong with SetDelayed? The body of the function works alone, while setdelayed to it a...
This is actually nontrivial: it has to do with how Mathematica manages scope after substituting in values that match a pattern (as in applying :=).
By inspecting poincare[sol, 1] // TracePrint, we see …
3
votes
Compute area enclosed in a curve on a surface
As long as I've transcribed h correctly, I think this might be a case of just tidying up your integrand before putting it into NIntegrate. All I do is use Simplify.
A = 0.1;
Clear[x,y];
h[x_, y_] :=
…