New answers tagged numerical-integration
0
votes
Accepted
Solve Differential Equation Numerically
First, consider the case d = 0:
eq0 = y''[x] - Exp[y[x]] + Exp[-2 y[x]] + 1;
with y'[0] == 30 and ...
1
vote
Accepted
Volume of Region Contained by 3D Data Points
The Mathematica documentation actually has a relevant example that works very well and is similar to what others have been saying. This is the full code for my solution using the example data above:
<...
2
votes
Slow convergence of 6 dimensional integral in a spherical region
If you change If to Boole Mathematica evaluates ...
2
votes
Accepted
Set of differential equations with trigonometric functions and a derivative squared
In this post we answer the question how to extend periodic solution t[y] up to $4 \pi$ and how to compute solution in a case of ...
2
votes
Accepted
Graph lines do not show dashes
You need to use "Directive[Red,Dashing[0.05]]:
plot1 = ListPlot[a1, Joined -> True,
PlotStyle -> {Directive[Red, Dashing[0.05]]}]
3
votes
Set of differential equations with trigonometric functions and a derivative squared
Try numerical solution NDSolve[...,Method->"StiffnessSwitching"].
Solutions seem to be complex, is this intended?
...
1
vote
Accepted
Evaluation and plot the result of NIntegrate obtained from NDSolve
Your definitions (keep h undefined)
...
4
votes
Accepted
Solving coupled differential equations involving the square of the derivative
There are 2 branches in the analytical solution with variable p=pt,
...
3
votes
Solving coupled differential equations involving the square of the derivative
I'll let you do the plotting. But these are not coupled ode's. The y[s] ode does not depend on t[s]. So you can solve that on ...
3
votes
Volume of Region Contained by 3D Data Points
Just to illustrate closeness of other answers to analytic answer for this volume of revolution:
...
2
votes
Volume of Region Contained by 3D Data Points
Use the xyzdata and int in the question. We define a ImplicitRegion bounded by that surface....
7
votes
3
votes
Accepted
What are some ways to speed up calculations
These can be calculated once:
Bs = {0, 0.5, 1, 2, 5, 7};
entable = Table[en[B], {B, Bs}];
Then using the pre-calculated table
...
1
vote
Accepted
1
vote
Accepted
Numerical Integration of a Complicated Function
But it takes 2 hrs to run.
Well, you are calling sum for 20 items, each one does integration. And this is all done for each sampling point. So there is a lot to do.
If you change to ...
3
votes
Accepted
Numerical integration over Re[expr] still has $0 i$ in the result
Overview
The problem arises in the compiled function created for some sort of singularity processing that NIntegrate[] decided was necessary.
Is it a bug? Ask WRI....
4
votes
Accepted
How to use answer of NDSolve in NIntegrate
Try and see if this works for you.
Btw, you are also getting
NDSolveValue::ibcinc: Warning: boundary and initial conditions are inconsistent.
which you might want ...
2
votes
Accepted
Top 50 recent answers are included
Related Tags
numerical-integration × 3417differential-equations × 1198
calculus-and-analysis × 571
numerics × 473
equation-solving × 355
plotting × 311
warning-messages × 213
nonlinear × 169
special-functions × 162
performance-tuning × 161
finite-element-method × 156
interpolation × 121
integral-equations × 110
precision-and-accuracy × 99
physics × 76
mathematical-optimization × 74
list-manipulation × 70
functions × 68
boundary-conditions × 67
boundary-condition-at-infinity × 60
bugs × 59
numerical-value × 58
complex × 56
singularity × 56
probability-or-statistics × 51