# Questions tagged [numerics]

Questions on the numerical functions of Mathematica, implementing numerical methods and numerical computing with Mathematica.

1,372 questions
Filter by
Sorted by
Tagged with
1answer
76 views

### Improving Speed of Binomial and Multinomial Random Draws

A number of users have discussed the speed of Random number generation in Mathematica. The Binomial and Multinomial random number generators in Mathematica are fast if multiple draws are needed for ...
1answer
35 views

### NDSolve outcome depends on system size?

I tried to solve a simple wave equation numerically and plot the result within the time range t=0...1. Now when I change the tmax in the NDSolve the outcome of my plot (I don't change anything else ...
0answers
78 views

1answer
55 views

### How to solve this equation numerically? [closed]

Two Gaussian functions: f1,f2 of the form f1 = a1*Exp[-t^2/s1^2]. Total area, Atot of (f1+f2) is known. Height of each peak (a1 and a2) is known (experimental ...
2answers
100 views

### How to solve these ODEs using NDSolve?

I have six odes and I cannot use DSolve. So I tried NDSolve. But it says there may be some errors.The code is such like this: ...
2answers
719 views

### Does Mathematica reuse previous computations?

I am doing an analysis of experimental results in which I need to repeat the same GaussianFilter hundred of times on different data. As explained in the ...
0answers
65 views

### Wrong result using “numeric” symbols

Recently I stumbled upon a weird bug when I used a package that sets the NumericQ result of symbols you are feeding into a certain function to true. Here is a minimal working example of what I mean: ...
0answers
67 views

### How to avoid getting different results in exponential and trigonometric forms [closed]

I have a complicated numerical complex expression which depends on 6 parameters (Alpha, Beta, Gamma, Delta41, Delta43, Delta). It is too long to put it all here but this is what it looks like: ...
1answer
55 views

### Problem with {table values} when plotting

I have a Piecewise and Nintegrate both defined with NumericQ. The NIntegrate part of the Piecewise operates when first inserted into a working program, but not when called from inside a table. Their ...
2answers
99 views

### Numerically stable replacement for generalised incomplete gamma function [closed]

I am looking to replace the generalised incomplete gamma function (which appears in a solution to a problem I've posted about here) with a numerically stable formula involving other functions. This is ...
1answer
79 views

### How to maximize just with respect two parameters out of four?

There are some posts explaining how do we maximize a function of two parameters with respect to one of those and how to plot the resulting function: Plot a function after taking the supremum with ...
2answers
119 views

### Evaluation of a hypergeometric function

I am working with functions like f[z_] = Hypergeometric2F1[4, 4, 8, z] Here is a plot of this function over the interval $z \in [0,1]$: ...
1answer
48 views

### Plotting numerical solutions (multi solutions)

I am trying to plot the solutions of this equation. ...
1answer
54 views

1answer
96 views

### Approximating decay rate of an amplitude and frequency of an oscillating function

I have an InterpolatingFunction constructed from a discrete set of values obtained by numerical methods. Let's denote it $f(x)$. The function demonstrates an ...