Skip to main content

Questions tagged [warning-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
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 ...
Ashish K's user avatar
2 votes
2 answers
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 ...
questionerno8's user avatar
1 vote
1 answer
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 ...
Tapiocaweasel's user avatar
0 votes
0 answers
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}...
Radia B's user avatar
  • 41
0 votes
0 answers
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: ...
Tapiocaweasel's user avatar
1 vote
1 answer
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. ...
bkarpuz's user avatar
  • 809
2 votes
0 answers
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 ...
Milk's user avatar
  • 1,718
1 vote
2 answers
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 ...
Kopiaobia's user avatar
1 vote
1 answer
43 views

How can I fix NIntegrate::inumr warning message?

I have this code: ...
Cedric Martens's user avatar
1 vote
0 answers
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 <...
Anti Earth's user avatar
  • 1,211
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 ...
azerbajdzan's user avatar
  • 18.9k
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 ...
AWer's user avatar
  • 35
1 vote
1 answer
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 ...
juv95's user avatar
  • 351
2 votes
1 answer
79 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 ...
user366202's user avatar
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. ...
imida k's user avatar
  • 4,295
0 votes
1 answer
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 ...
imida k's user avatar
  • 4,295
0 votes
0 answers
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 ...
imida k's user avatar
  • 4,295
0 votes
0 answers
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/...
user13253's user avatar
  • 8,666
1 vote
1 answer
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: ...
roamer's user avatar
  • 11
0 votes
0 answers
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? ...
nuj_hossain's user avatar
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 ...
Weyr124's user avatar
  • 15
3 votes
1 answer
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 ...
Aharon Naiman's user avatar
0 votes
1 answer
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 ...
mattiav27's user avatar
  • 6,747
1 vote
1 answer
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? ...
Deepika Gaur's user avatar
7 votes
1 answer
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}] ...
Milk's user avatar
  • 1,718
0 votes
0 answers
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: ...
Sean Svihla's user avatar
1 vote
1 answer
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 ...
Weyr124's user avatar
  • 15
1 vote
1 answer
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). ...
Larissa Santos's user avatar
0 votes
2 answers
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 ...
Sean's user avatar
  • 23
2 votes
2 answers
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 ...
Larissa Santos's user avatar
1 vote
1 answer
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 ...
Larissa Santos's user avatar
2 votes
1 answer
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: ...
Peter's user avatar
  • 21
3 votes
1 answer
374 views

Sum works with 1000000, fails with 2000000 - bug?

Consider the following: ...
rogerl's user avatar
  • 4,209
1 vote
1 answer
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: ...
Brendan Darrer's user avatar
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: ...
Gabriel Rodrigues's user avatar
5 votes
3 answers
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. ...
Athanasios Paraskevopoulos's user avatar
8 votes
1 answer
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 ...
BioPhysicist's user avatar
  • 1,124
-1 votes
1 answer
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: ...
csn899's user avatar
  • 4,315
1 vote
1 answer
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 ...
csn899's user avatar
  • 4,315
4 votes
6 answers
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 ...
Archisman Panigrahi's user avatar
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. ...
AmsaJYP's user avatar
4 votes
0 answers
233 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 ...
narip's user avatar
  • 381
0 votes
0 answers
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). ...
Cham's user avatar
  • 4,093
0 votes
1 answer
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 ...
Colin Baker's user avatar
2 votes
1 answer
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 ...
Cham's user avatar
  • 4,093
1 vote
1 answer
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: ...
Gorkem Aksaray's user avatar
2 votes
2 answers
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 ...
Cham's user avatar
  • 4,093
3 votes
1 answer
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 ...
Cham's user avatar
  • 4,093
0 votes
1 answer
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 ...
PiE's user avatar
  • 437
4 votes
1 answer
126 views

Why is there an error about division by 0?

I'm converting all of my old Mathematica 7.0 codes to my new Mathematica 13.2, and I'm struggling with some issues I didn't encounter with version 7.0. The following code is giving me a headache, ...
Cham's user avatar
  • 4,093

1
2 3 4 5
29