Questions tagged [warning-messages]
The warning-messages tag has no usage guidance.
1,439
questions
1
vote
1
answer
59
views
Replacing Terms of a Table of Functions
I define a table of functions, and I receive and error when I want to change a term of the table. As a minimal example, I can give the following.
...
6
votes
1
answer
328
views
DSolve: unable to solve the conditions
I have a second order differential equation with $2$ boundary conditions and want to use the following code to solve it:
...
2
votes
0
answers
76
views
Can I get the error message to be printed only once?
When an error occurs, most of the messages are output once.
However, sometimes a message is output multiple times.
Plot3D[x + y, {x, -1, 1}, {y, 1, 1}]
In this ...
0
votes
1
answer
117
views
Fitting data to a nonlinear model and avoiding warning
I have a complicated model and I want to fit it to my data.
I used NonlinearModelFit. The fit quality is very poor (P is infinitesimal) and it comes with a warning ...
1
vote
2
answers
81
views
How to change a value in an association in a list for Cellular Automata project?
I'm trying to change a value in an association in a list. This is part of a larger project of creating a function that can mutate a 2D Cellular Automata several times to make it look like another 2D ...
0
votes
1
answer
157
views
ParametricPlot3D with variable plot limits
I would like to use ParametricPlot3D in the following general way:
ParametricPlot3D[\[Sigma][u,v],{u,0,2Pi},{v,-f[u],f[u]}].
...
1
vote
1
answer
42
views
How can I fix NIntegrate::inumr warning message?
I have this code:
...
2
votes
1
answer
126
views
NDSolve: how to solve "ndnum error"
I have a problem of finding the shape of a current. please see the details here NDSolve does not accept the boundary condition
I wrote a code but it gives the "ndnum" error. I tested the ...
1
vote
0
answers
44
views
Unexpected recursion when enumerator (like Table) uses variable also non-atomically in value list
Consider expression
Table[k, {k, {a, b, k}}]
which correctly evaluates to {a,b,k}. The duplication of the enumerated variable <...
0
votes
0
answers
40
views
Error message in "Copy As Graphics Expression" of graph
Evaluate the following code:
Graph[{{1, 2}, {2, 3}, {3, 1}}]
Then right-click the graph and choose ...
1
vote
1
answer
43
views
How do I use Check with Table to skip results that contain error messages
I want to run an iteration where at each step I check whether I obtain an error message, and if I do, I want to not store that result and move on to the next iteration instead. Here's an example of ...
1
vote
0
answers
108
views
Save as custom folder in menu bar in 1 step
I found the solution for myself.
For some reasons I decided to write the updated content(=solution) at the top. One important reason is.. that you almost don't need to read after the solution.
...
2
votes
1
answer
75
views
Why can't I assign upvalues to NonCommutativeMultiply?
I'm trying to define a non-commutative product with respect to which, certain quantities (e.g. numbers, and some other quantities defined in my code) behave as "scalars" and can be pulled ...
0
votes
1
answer
93
views
Command to press a button
Under normal circumstances, giving a command to
press the Button
is stupid. Because we only need to execute the button action of that ...
0
votes
0
answers
39
views
Button with a certain built-in function makes error [duplicate]
Note that if I execute
NotebookSave[InputNotebook[],
SystemDialogInput["FileSave", "C:\\myfile.nb"]]
will popup ...
0
votes
0
answers
33
views
Is there a way to make Off[General::stop]'s effect only applied to some messages?
After Off[General::stop] it seems all kinds of messages start to print for as many as it need to. Is it possible to limit its effect to a selected set?
https://reference.wolfram.com/language/ref/...
1
vote
1
answer
151
views
Smooth numerical integration of oscillatory integrand
How can I evaluate these integrals to get a smooth outcome for the ratio, preferably without any errors?
I'm trying to integrate this:
...
0
votes
1
answer
53
views
NDSolveValue::ntdvdae and NDSolveValue::icfail while solving system of PDEs
I am trying to solve a system of PDEs, but I get the error NDSolveValue::ntdvdae:
Cannot solve to find an explicit formula for the derivatives. NDSolve will try ...
4
votes
1
answer
125
views
Mathematica file corrupted with the syntax error "Spacer[{0., 0.}], Selectable -> False"
My Mathematica file is corrupted. The error says There was a syntax error on line 34457 in the file: xxx.nb. The error was:Spacer[{0., 0.}], Selectable -> False
...
0
votes
0
answers
57
views
NDSolve::derlen: The length of the derivative operator Derivative[1,2] in (y^(1,2))[x,z] is not the same as the number of arguments
This is a part of my code, where this error is showing. What is the mistake?
...
11
votes
2
answers
4k
views
The front end encountered an error while processing a "NotebookPredictions" packet
I occasionally get the error
The front end encountered an error while processing a
"NotebookPredictions" packet.
I cannot find any documentation for this error message online. It does not seem ...
0
votes
1
answer
64
views
Coordinate variable type error
I'm trying to implement a simple algorithm for curve subdivision, using a function with an input of an array of points to generate another array of new points and then putting them all into a new ...
0
votes
1
answer
49
views
Startup error messages GridCreationSettings
I've looked for a solution, but couldn't find one. I've reinstalled,but still get the following two (related) messages on startup:
The specified setting for the option GridCreationSettings, Columns ...
3
votes
1
answer
84
views
Turning messages off does not work with an assigned symbol
Why does the following code not turn off the message Sin::argx?
foo = Sin;
Off[foo::argx];
Sin[4,5]
If I try ...
1
vote
1
answer
66
views
Syntax::sntxf when using ItoProcess
The following code gives an error message Syntax::sntxf. What is wrong with my code, and how can I fix it?
...
0
votes
1
answer
194
views
NDSolve unable to find initial conditions that satisfy the residual function within specified tolerances
I'm trying to solve a set of differential-algebraic equations with boundary conditions:
$A\frac{d^2\psi}{dx^2}=[c_{F}-2c_{D}(x)+c_{C}(x)]F$
$c_{D}(x)=0.1\exp(-0.2253 - 76.5596\psi(x) - 1.1149)$
$c_{C}(...
7
votes
1
answer
235
views
Are there any errors that are not controlled by Quiet?
I believed that using Quiet, all message output would be controlled.
Quiet@Plot3D[x, {x, 1, 2}, {y, 1, a}]
Quiet@ContourPlot[x + y == 1, {x, 1, 2}, {y, 1, a}]
...
0
votes
0
answers
67
views
Help implementing Lagrange inversion
I'm attempting to find the coefficients of generating functions using Lagrange inversion. I am finding the series coefficients with:
...
0
votes
2
answers
112
views
FermionSpinSum: encountered a fatal problem and must abort the computation
While running my teacher example using Feyncalc and FeynArts 3.10, I encounter this warning from Mathematica
...
1
vote
1
answer
70
views
Animate function error
I'm new to Mathematica and I'm trying to plot a interactive graph of a curve with a slider that shows the tangent to the curve in whichever point of the interval, my implementation is
...
1
vote
1
answer
150
views
Newton Raphson 0th order with gauss elimination error
I'm trying to do a Newthon Raphson with 1st order continuation to solve a problem with 4 variables (fix 2 and obtain the results of 2 (x and Chi).
...
2
votes
2
answers
164
views
Newton Raphson with continuation error
I have here an algorithm to solve multivariable nonlinear systems using the Newton-Raphson method with continuation. However, there is some error in the code that I am unable to identify, causing it ...
1
vote
1
answer
180
views
Gauss elimination with pivoting error
I am attempting to write code for Gaussian elimination with pivoting. I need my code to be able to find the maximum pivot in the column and swap the rows to ensure that the first element is always the ...
2
votes
1
answer
90
views
Mathematica thinks that an initial condition is a boundary condition
I would like to solve the following reaction-diffusion problem in Mathematica using NDSolve:
...
3
votes
1
answer
373
views
Sum works with 1000000, fails with 2000000 - bug?
Consider the following:
...
1
vote
1
answer
160
views
PlotLegends` and VectorAnalysis is now obsolete on Mathematica v 12.0.0.0 Home edition [closed]
My code was working a few months ago. Now I receive the messages:
...
1
vote
2
answers
685
views
Error Message NIntegrate: "The integrand ... has evaluated to non-numerical values..."
When running the following code, I get the error message that "NIntegrate::inumr: The integrand ... has evaluated to non-numerical values for all sampling points in the region with boundaries {{0,...
2
votes
1
answer
97
views
Difficulties in solving a system of differential equations with a matrix differential equation
I'm trying to solve a system of differential equations that looks like this:
...
4
votes
0
answers
210
views
Newly installed Mathematica Message[$ConfiguredKernels::obso] is Protected error?
I installed Mathematica 13.3(My $Version result is "13.3.0 for Microsoft Windows (64-bit) (April 11, 2023)" and I use ...
5
votes
3
answers
273
views
Plotting Incidence function of the SIR Model
I am working on the SIR model and I am trying to plot the incidence function on a specific time interval.
...
8
votes
1
answer
242
views
How to automatically install FFmpeg without an error
When I try to export a list of images as an AVI file, I get this message:
When I select "Install FFmpeg", this message then pops up
The community post is hard to follow, and the images ...
2
votes
2
answers
807
views
What causes the warning "The dependent variable in the boundary condition needs to be linear" when using NDSolve?
V 12.1.1 on windows 10
Why the following works
...
1
vote
1
answer
96
views
Replacing warning message with custom text
I am using the following code to determine the maximum of a function:
f[x_] = Log[3/10, 3 - 2 x - x^2]
xr = FunctionDomain[f[x], x]
Maximize[{f[x], xr}, x]
As the ...
-1
votes
1
answer
44
views
Finding parameter range of inequation with no solution
Let the solution set of the following inequation
$$6 k - 2 x + k x^2 < 0, \quad k \neq 0$$
be an empty set. How can I find find the range of parameter $k$?
The following code gives an answer:
...
4
votes
6
answers
323
views
How can I fit a set of points to the form $y = a(b-x)^c$?
I have a list of points $(x, y)$, and I expect them to be related as $$y = a(b-x)^c,$$ where $a$, $b$, and $c$ are unknown constants. I also know the approximate values of constants, which can be used ...
0
votes
0
answers
87
views
PolynomialGCD::lrgexp when integrating
I want to calculate the exponential in the last line of the following code, but the code never completes and just produces errors about PolynomialGCD.
...
0
votes
0
answers
80
views
Accuracy or precision issues with this code
I'm experiencing issues with the code below (this working code solves the Tolman-Oppenheimer-Volkoff (TOV) equations in general relativity, for the hydrostatic equilibrium of a spherical star). ...
1
vote
1
answer
111
views
Finding the maximum of a non-linear function symbolically
I have the function $$f(x,\alpha) = x^\alpha - \frac{x^2}{2}$$ where $x>0$ is the main variable of interest and $\alpha \in (0,1)$ is the parameter of curvature:
...
2
votes
1
answer
178
views
How to remove an apparent singularity in NDSolve?
I'm trying to numerically solve two coupled differential equations using NDSolve. The following code works, except that I had to remove a starting point singularity at $r = 0$ by adding an arbitrary ...
10
votes
2
answers
482
views
What should I make of "Simplify: Time spent on a transformation exceeded -4.03955*10^12 seconds"?
Running version "12.0.0 for Microsoft Windows (64-bit) (April 6, 2019)", in case that matters. I fed Mathematica the command
...