Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

Filter by
Sorted by
Tagged with
5
votes
2answers
252 views
+100

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
51 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
57 views

Unexpected error when implementing FEM in MoL SpatialDiscretization

I cannot figure out why the following piece of code ...
0
votes
0answers
21 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 ...
-1
votes
0answers
54 views

step size is effectively zero. singularity or stiff system suspected

I know there are some questions related to this problem already, but trying some of the solutions proposed I didn't manage to fix my code. The code is the following: ...
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
30 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
54 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
108 views

Create a Miura origami pattern?

I want to solve the below code to create an origami pattern ...
1
vote
1answer
49 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 ...
6
votes
2answers
387 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
52 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
60 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
415 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
91 views

Problem in NDSolve (Mathematica 7)

Following a piece of program ...
1
vote
1answer
56 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
42 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
27 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
76 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
83 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
119 views

Find maximum according to a parameter

I am new to Mathematica. I want to find the maximum of the functions: ...
1
vote
1answer
60 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
90 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
56 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
118 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
60 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 ...
3
votes
1answer
70 views

How to enter vector inputs in SystemModelSimulate?

A support case with the identification [CASE:4272760] was created. I am having some difficulties to provide vector inputs for a Modelica model using Mathematica. ...
1
vote
1answer
60 views

Finding a fit with a specific mean squared error

I have a fit a data set to the following equation ...
0
votes
1answer
42 views
0
votes
2answers
66 views

Apparent contradiction in double summation

I have two expressions which, if my maths is correct, should both be true. But Mathematica doesn't agree. I can take the expression E^(-n^3) out of the single ...
1
vote
2answers
63 views

Incorrect results from simple `Plot`?

I came across this bizarre behaviour whilst noodling around - a change in 'Plot' results... ...
0
votes
0answers
38 views

Piecewise function to include SawtoothWave function

I am trying to write a Piecewise function that includes the SawtoothWave function. Can someone indicate how to do this, or if it is possible within mathematica? The piecewise code is here: ...
6
votes
0answers
99 views

Problem with my user name

I'm trying to use the new website ("Wolfram Function Repository") and i get the following error: ...
1
vote
2answers
104 views

Error messages for FindRoot and NIntegrate

I want to solve the following problem. First, the setup. A function $V(\varphi)$ defined as \begin{multline} V(\varphi)=\frac{\alpha-3}{4}e^{\sqrt{2\alpha}\varphi}+\frac{\alpha-5} {\gamma}e^{(\...
0
votes
1answer
69 views

Interpolation function error: The quality of the underlying mesh is too low

Consider a dataset BplustoPiXlight.dat (alternative link). I import it and try to interpolate: ...
0
votes
0answers
31 views

Plotting with RegionFunction without explicit function variables

Before updating Mathematica license to version 12, I was able to exclude regions of plots (in Plot, Plot3D, ...
2
votes
1answer
112 views

Problem with NDSolve: Maximum number of steps reached

I am using NDSolve to solving a first order autonomous system of ODEs $\dot x(t) = f(x(t))$, $x\in\mathbb R^n$ numerically for a set of initial conditions $x(0)=a,b,...
2
votes
0answers
48 views

What could cause an “Uncaught Throw[$Failed,CURLLink`Utilities`Exception] returned to top level.” error message?

I am running a program in Mathematica that uses web browser automation, and is also connected to my email account. The program runs fine for a while, but after a few hours, I end up getting the ...
0
votes
1answer
78 views