New answers tagged

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 ...
bbgodfrey's user avatar
  • 60.4k
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: <...
John's user avatar
  • 85
2 votes

Slow convergence of 6 dimensional integral in a spherical region

If you change If to Boole Mathematica evaluates ...
Ulrich Neumann's user avatar
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 ...
Alex Trounev's user avatar
  • 41.1k
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]]}]
Daniel Huber's user avatar
  • 45.4k
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? ...
Ulrich Neumann's user avatar
1 vote
Accepted

Evaluation and plot the result of NIntegrate obtained from NDSolve

Your definitions (keep h undefined) ...
Ulrich Neumann's user avatar
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, ...
Alex Trounev's user avatar
  • 41.1k
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 ...
Nasser's user avatar
  • 135k
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: ...
ubpdqn's user avatar
  • 58.3k
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....
cvgmt's user avatar
  • 61.3k
7 votes

Volume of Region Contained by 3D Data Points

Volume under the surface ...
Greg Hurst's user avatar
  • 35.2k
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 ...
MelaGo's user avatar
  • 6,831
1 vote
Accepted

Second order Poisson ODE

This is some sort of a scaling problem: ...
user21's user avatar
  • 39.1k
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 ...
Nasser's user avatar
  • 135k
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....
Michael E2's user avatar
  • 233k
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 ...
Nasser's user avatar
  • 135k
2 votes
Accepted

Any easier way to integrate the complex equation

This works and much faster also. ...
Nasser's user avatar
  • 135k

Top 50 recent answers are included