Tag Info

Accepted

Can Mathematica calculate this elliptic, triple integral?

Doing the Integrals separately for a, b and c gives the answer $\frac{128}{45 \pi}\sim 0.905415$, which agrees with the numerical estimate from NIntegrate: ...
• 974

Can Mathematica calculate this elliptic, triple integral?

The unevaluated integral that Mathematica produced in the OP can be massaged a bit. First, note that due to symmetry, we can instead consider the integral ...

Can Mathematica calculate this elliptic, triple integral?

If you regard symmetry of integrand (two times integral from 0<b<a) and rearange to do integration over c at last, you get the result in a non splitted integration in 10 seconds. Original ...
• 15.1k

Poincare section for a perturbed string

Small modification leads to appearance of random behaver and solves step size problem ...
• 33.7k
Accepted

Problem with NIntegrate a solution of NDSolve

You can't take derivative w.r.t. a number. You were passing t as number, then doing D[...,t] Try the following. It is also ...
• 108k
Accepted

Simple 3D trapzoidal rule gone wrong

I don't know what you are doing wrong, but the fact that you can hardly read it yourself should ring a bell: The more code you have, the more can go wrong. Here is a shorter and more idiomatic ...
• 94.7k
Accepted

Inconsistent results between NIntegrate and Integrate

If you look at the result of ...
• 16.5k

NDSolve: there are more variables than equations, underdet

There are several typos in the code. First, initial data array probably should be in a form ...
• 33.7k

This problem can be solved by colocation method with using Euler wavelets. First, we map solution on unit interval $0\le x\le 1$. Then we define function f, first (f1) and second (f2) derivative as ...
• 33.7k

Integration of accelerometer data to x-y-z position

You will know that the velocity is v= v0+ integrate(acceleration) and the path is x= x0+ integrate(velocity). For discrete data we can integrate using the function "Accumulate". BTW you ...
• 24k
Accepted

Problem with NIntegrate and more general problems with NDSolve

FINAL ANSWER Here is the improved code. I have changed the method of NDSolveValue to ...
• 6,104

Wrong sign with NIntegrate

Simplifying and rearranging the integrand, along with high precision, solves the problem in this case: ...

NIntegrate can't integrate function but work fine with the expression

You had this L = 10; psi0 := E^(-(x - 10)^2/10) NIntegrate[psi0[x], {x, 0, L}] You can't call psi0[x] when the function is ...
• 108k
1 vote

Solution of NDSolve evaluates pointwise, but won't plot (possibly due to issue with FindRoot and replacement rules)

Just in case anyone runs into a similar issue, I figured out a fix! The issue was that NDSolve was setting n to a numeric value, and then trying to evaluate. So I used Block so that it would be ...
1 vote

Multivariable NIntegrate gives different value if I integrate it separately

Indeed, in version 13 on Windows 10 y[x_?NumericQ] := NIntegrate[v^2 Exp[-x v^2], {v, 0, \[Infinity]}] NIntegrate[y[x], {x, 20, 1000000}] ...
• 16.5k
1 vote
Accepted

Integration of accelerometer data to x-y-z position

First I add a time coordinate assuming that when you say frequency is 100 Hz you mean that the sample rate is 100 samples per second. ...
• 14.6k
1 vote

Non Linear System of Diferential Equations with periodic function

Your main problem was not to define all paramters. A good way to look whether you got all variables is Variables[Level[eqs, -1]] Two posibilities of solution: a) ...
• 15.1k

Only top scored, non community-wiki answers of a minimum length are eligible