# Questions tagged [warning-messages]

The tag has no usage guidance.

1,443 questions
Filter by
Sorted by
Tagged with
56 views

### I want to plot a system of coupled pde where coefficients are component of vector defined piecewise [closed]

I am trying to reproduce some results of a paper. But I'm very new to Mathematica. I have written the code using some AI tools. but I'm unable to spot the error and mistakes in my code. here is my ...
91 views

### Using the result of NDSolve to make animation

I have solved a system of PDEs and made density plots using the following script ...
1 vote
29 views

### Programmatically bring notebook to front, open minimized notebooks? (particularly to Messages)

I want to do the equivalent of navigating to the Window menu and selecting a notebook. In particular, I'm interested in forcing the messages window to the front. My ...
55 views

### Solve system of integrated differential equations

I want to solve a system of integrated differential equations but I am encountering a problem with my Mathematica code. \text{ka}=\text{kb}=1; \text{wa}=\text{wb}=\frac{w}{2}; \text{Jxy}=0.5; \text{Jz}...
• 41
32 views

### Can one force Print[] statements within a Dynamic[] to appear in the Notebook? If so, should one ever do that?

For a simple demostration of the behavior, note that the print statements in this expression appear in the Messages window: ...
1 vote
60 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. ...
• 809
77 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 ...
• 1,718
1 vote
86 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 ...
1 vote
43 views

### How can I fix NIntegrate::inumr warning message?

I have this code: ...
1 vote
46 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 <...
• 1,211
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 ...
• 18.9k
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 ...
• 35
1 vote
45 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 ...
• 351
79 views

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 ...
• 451
1 vote
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. ...
• 4,295
99 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 ...
• 4,295
42 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 ...
• 4,295
35 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/...
• 8,666
1 vote
156 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: ...
• 11
58 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? ...
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 ...
• 15
86 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,215
75 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 ...
• 6,747
1 vote
67 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? ...
237 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}] ...
• 1,718
68 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: ...
1 vote
72 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 ...
• 15
1 vote
151 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). ...
154 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 ...
• 23
179 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
189 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 ...
91 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: ...
• 21
374 views

### Sum works with 1000000, fails with 2000000 - bug?

Consider the following: ...
• 4,209
1 vote
167 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: ...
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: ...
281 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. ...
278 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 ...
• 1,124
48 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,315
1 vote
99 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 ...
• 4,315
325 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 ...
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. ...
233 views

• 381
84 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). ...
• 4,093
51 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 ...
219 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 ...
• 4,093
1 vote
117 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: ...
132 views

### How to fix these warnings from an NDSolve code?

The following code works but it give several warnings that makes me feel nervous about the reliability and accuracy of the output: NDSolve: Warning: estimated initial error on the specified spatial ...
• 4,093
86 views

### Why is StoppingTest in red? What other option to stop NDSolve?

The following stripped down code works, but I'm experiencing some strange warnings: from an old document made with Mathematica 7.0 (but used in version 13.2), I'm getting several warning messages ...
• 4,093
46 views

### Trying to use ProbabilityDistribution for custom distribution - Getting errors/warnings I don't understand

I have this custom distribution that I want to use in Mathematica, but there appears to be some sort of problem I don't understand. Also, when I compute the mean for the custom distribution via ...
• 437