New answers tagged numerics
2
votes
Accepted
Plotting an integral with solving for a specific constant
As an example, we take a simple function that we can integrate analytically:
f[t_] = t + 2;
Integrate analytically:
...
1
vote
Accepted
Using ParametricNDSolveValue and MultiNonlinearModelFit to fit an ODE system to datasets
I split the data values and uncertanties into two separate lists, and also grab the time values:
...
0
votes
Accepted
Triple Summation Calculation Which Includes an Integral
There were typos in the code you posted as I noted in the comment above. You had terms like C_j, etc., which should be c[j], etc. Since you're interested in a numerical result, I replaced Integrate ...
0
votes
When does arithmetic with approximate numbers not follow basic properties?
More of a long comment, I guess:
Note to others: Mathematica is not IEEE 754 compliant, even though it is built from libraries that are mostly compliant (for ...
4
votes
Accepted
3
votes
Modeling experimental data with differential equations
This should help you underway, but I couldn't find good starting values for the parameters:
...
1
vote
Multiple solutions from NSolve
With the OP's sol, we can gather the similar solutions together, find their mean, and if desired, polish them up with FindRoot:
<...
4
votes
Accepted
How to solve this integral equation numerically?
Although the general problem in the question probably requires the methods referenced by flinty in 285076, the specific problem contained in the question's code, ...
0
votes
Solving A System of Two Implicit Equations
An alternative approach is to use FindRoot or FindMinimum without constructing an ...
4
votes
Accepted
3
votes
Multiple solutions from NSolve
For parametric research it could be better to use FindRoot as follows
...
1
vote
Multiple solutions from NSolve
Setting WorkingPrecision->20, it then takes 85 sec. and gives only 3 solutions, although it gives a warning that the input is less precise than working precision:
...
1
vote
Accepted
1
vote
Plot after applying NIntegrate
int is producing seemingly random numbers because AccuracyGoal -> 5, PrecisionGoal -> 4 are too small. Increasing the ...
Top 50 recent answers are included
Related Tags
numerics × 2144differential-equations × 590
numerical-integration × 480
equation-solving × 439
calculus-and-analysis × 204
plotting × 167
mathematical-optimization × 151
precision-and-accuracy × 149
special-functions × 131
nonlinear × 117
finite-element-method × 113
performance-tuning × 103
numerical-value × 99
linear-algebra × 86
machine-precision × 77
matrix × 76
list-manipulation × 64
functions × 64
warning-messages × 54
physics × 47
eigenvalues × 47
summation × 46
interpolation × 45
bugs × 41
evaluation × 40