Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Error Message for GrammarRules and GrammarApply

I have been struggling with the following issue regarding an irregularity when deploying and applying GrammarRules. Specifically, it often takes several failed attempts before the execution is ...
2
votes
1answer
18 views

DensityPlot: Error messages and strange bar legend

Bug introduced in 11.1.1 or earlier and persists through 12.0 I want to plot the following DensityPlot with axes given by Trr ...
2
votes
2answers
50 views

Error in a simple plotting code [on hold]

I have the following code: ...
2
votes
3answers
102 views

Problem with NSolve with Logarithm

I have an issue with NSolve, and I think it's because of the logarithms : ...
0
votes
0answers
69 views

Want help with handling error messages from NDSolve [closed]

I'm trying to solve a system of two differential equations with NDSolve and mathematica gives error. I have functions in ...
1
vote
3answers
67 views

How to resolve Overflow error in FindFit method?

I am using FindFit function in order to fit my data and get two parameters: c and m. The function that I am using has the following form: ...
0
votes
0answers
30 views

Why is my code for density using Folner Sequences giving incorrect values? [duplicate]

I am creating a code that calculates or approximates $$D(S\cap[a,b])=\lim_{n\to\infty}\frac{\left|S\cap{F_n\cap[a,b]}\right|}{\left|F_n\cap[a,b]\right|}$$ where $D$ is the density of $S\cap[a,b]$ (...
0
votes
0answers
72 views

Getting message NDSolve::underdet [on hold]

The equations below should be quite simple to solve, but I am stuck. Could anyone help me? ...
0
votes
2answers
98 views

Numerical resolution of non-linear coupled ODEs

I have problem with my code in Mathematica. I have introduced the set of coupled non-linear ODES. This is the resolution part: ...
0
votes
1answer
19 views

Error more dependent variables than equations [closed]

This may be a stupid question but I can't figure out what I'm doing wrong, my mathematica code rejects the equation as having too many dependent variables, Error: There are more dependent variables ...
3
votes
2answers
95 views

Table to generate colossally abundant numbers not working

I'm trying to tabulate the first 8 colossally abundant numbers defined by critical epsilon values, with epsilon listed in ...
0
votes
1answer
45 views

What is wrong with my function call? [closed]

I'm writing a function and when I execute it, I get a message saying: ... function has no opening ]. If I remove the right square bracket, I get a message saying: ... needs more input Here ...
6
votes
1answer
377 views

Can NDSolve address spherical gravitational collapse?

As far as I know spherical gravitational collapse -of central importance to theoretical physics- is thought to be out of the scope of Wolfram Mathematica. However there are cases, as in this article,...
0
votes
1answer
64 views

How do I skip to the end of a loop when a compiled function yields an error?

This is something of a follow-up to my question In an iterative process, how does one simply bypass a step producing an error? which I have been so far (thick-headedly) been unsuccessful in ...
3
votes
1answer
63 views

Unexpected error when implementing FEM in MoL SpatialDiscretization

I cannot figure out why the following piece of code ...
0
votes
0answers
22 views

Error messages in a notebook

I write on the Mathematica notebook NSum[(1 + k^2 + l^2 + m^2)^{-1.75}, {k, -Infinity, Infinity}, {l, -Infinity, Infinity}, {m, -Infinity, Infinity}] and it ...
0
votes
2answers
77 views

In an iterative process, how does one simply bypass a step producing an error? [closed]

This is undoubtedly rather elementary, but the remedy escapes me presently (and does not, as far as I can see, readily appear in Help). I'm engaged in an iterative process with several computations ...
2
votes
0answers
36 views

DSolve 4 variables function error

Mathematica version: 12.0.0.0 I'm trying to solve 2 basic differential equations; ...
0
votes
0answers
34 views

How to include `TimeConstraint` in `EulerEquations`? Is there any error here?

There is a complicated statement which takes a long time to compute. IS THERE ANY ERROR IN THE ATTACHED PICTURE? If YES, how can I include TimeConstraint of ...
0
votes
2answers
37 views

NDSolve: How to perform a reverse integration consistency check?

Let there be the following NDSolve code: s = NDSolve[{y'[x] == y[x] Cos[x + y[x]], y[0] == 1}, y, {x, 0, 30}] I think it ...
0
votes
0answers
57 views

Stiff system of ODEs

I'm trying to solve a system of differential equations with NDSolve, but I get the error message: NDSolve::ndsz: At lnP == -21.0018, step size is effectively ...
0
votes
0answers
41 views

Error message from FindRoot

I am getting the following message when I evaluate a call to FindRoot: The line search decreased the step size to within tolerance specified by AccuracyGoal and ...
1
vote
0answers
41 views

Encountered non-numerical values at (ParameticNDSolve/NDSolve)

I have the following problem: Even though I defined every other constant in the code, using either NDSolve or ParametricNDSolve, ...
0
votes
1answer
113 views

Create a Miura origami pattern?

I want to solve the below code to create an origami pattern ...
1
vote
1answer
53 views

Strange Startup Error Messages

Seemingly out of nowhere when I open Mathematica a messages window pops up with these two warnings. This issue starting occurring after no changes where made. ...
4
votes
1answer
43 views

Evaluate calls my function multiple times when the function generates an error

If I execute a line of code with Evaluate I find some unexpected behavior when the code returns an error. Here is a minimal example. Let ...
4
votes
0answers
63 views

Double summation giving unexpected result

The expression (in a notebook with Wolfram Mathematica 12.0.0) Sum[s[i, j] - s[j, i], {j, b}, {i, b}] Produces the result 1/2 b EulerPhi[b] Can anyone ...
0
votes
2answers
66 views

Array of polynomials

So I have a big list of 75 polynomials which I need to apply a sequence of operations to. My original program (an extract of which is below) worked fine: ...
6
votes
2answers
390 views

Is it possible to Clear (recover memory from) a specific index to a variable, while leaving other indices to the same variable untouched?

Consider the following method commonly used to clear a typical variable: ...
3
votes
2answers
55 views

“Automatic is not a valid StreamPoints specification”

If I run StreamPlot[{a, b}, {a, 0, 10}, {b, 0, a}] the kernel hangs, and I have to restart it. I also get the error message StreamPlot::strmpts: Automatic is ...
0
votes
0answers
61 views

SMSCorrect internal: Incorrect structure-2

Does anyone know what does the error: SMSCorrect internal: Incorrect structure-2. refer to? I mean, in general. Specifically, I get it from the following code. ...
3
votes
1answer
424 views

General::ivar 0 is not a valid variable when using Series in Plot

I have been having some trouble graphing a Taylor series approximation (Series). ...
2
votes
3answers
92 views

Problem in NDSolve (Mathematica 7)

Following a piece of program ...
1
vote
1answer
59 views

How to fix slow covergence and highly oscillatory integrand issues?

I'm trying to numerically solve an integral in a specific region and then to visualize it as follows. ...
2
votes
0answers
43 views

Error in PDE: Length of Derivative operator

I am trying to solve Poisson's equation in a cylinder with Dirichlet boundary conditions for the top, bottom, and sides of the cylinder, but I am getting the following error from NDSolve: ...
0
votes
1answer
30 views

Error Code 414 while trying to do a substitution

I was trying to see what would happen if I let d=q in the following equation: ...
3
votes
0answers
80 views

How to use an interpolating function as an intial condition for a PDE? [closed]

I want to be able to approximate a PDE, but my eigenfunction is an Interpolating function. Is there a way I can use an interpolating function as an initial condition in the PDE. For Example: ...
1
vote
2answers
88 views

Getting error General::munfl from NonlinearModelFit [duplicate]

I am trying to fit data to a sum of Gaussians. This data is found in a file called lpeff.txt. So I write the following code: ...
1
vote
1answer
17 views

RecursionLimit errors on Manipulate a DensityPlot expression

I am trying to do an interactive visualization of a very simple neural network (inspired by tensorflow playground): ...
4
votes
4answers
131 views

Find maximum according to a parameter

I am new to Mathematica. I want to find the maximum of the functions: ...
1
vote
1answer
61 views

Transpose Error

I have this code: ...
0
votes
0answers
34 views

Is it possible to turn off all messages for a specific mathematica file?

I have a general question. I have a big Mathematica file, which sometimes comes with some messages. Is it possible to turn off all messages forever in this notebook/file? BR Mads
1
vote
1answer
111 views

Getting a warning that a number is too small to be represented as a normalized machine number [closed]

I have the following summations: The code: ...
0
votes
1answer
57 views

How does one use NSum within NIntegrate properly?

If I use symbolic integration for the following: Sum[Integrate[i + x, {x, 1, 7}], {i, 1, 7}] 336 as one can see it gives the answer as it seems to '...
0
votes
1answer
120 views

Table and FindRoot of a two-variable interpolated function

I am having difficulty solving for the roots of the following interpolating function: ...
0
votes
1answer
48 views

Why do I get error messages when I try to plot this function?

Question: Why do I get error messages such as "LessEqual::nord: Invalid comparison with 1. -1.59148 I attempted." when I try to plot the function f[z,k] defined below with for example the Plot ...
0
votes
1answer
64 views

Table and FindRoot of a 2 variable function of x and t : cos(x + 3t)

I am trying implement mathematica commands: Table and FindRoot, of a 2 variable function <...
0
votes
1answer
74 views

Getting errors from ParametricNDSolveValue

I am a newcomer to Mathematica (use ver 9.0). I just want to fit the experimental data to a system of odes' by using NonlinearModelFit. The data, contains time in the first column and product ...