# Questions tagged [warning-messages]

The tag has no usage guidance.

1,423 questions
Filter by
Sorted by
Tagged with
40 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: ...
26 views

### Error in Installing Mathematica on Ubuntu 22.04 LTS

I have a student subscription from my university for Mathematica, and I recently switched from Windows to Ubuntu 22.04 LTS. I found the .sh installation file for the Linux kernel for Mathematica on ...
1 vote
60 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
142 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). ...
79 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 ...
146 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
139 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 ...
89 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: ...
367 views

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

Consider the following: ...
1 vote
153 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: ...
89 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: ...
253 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. ...
150 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 ...
40 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: ...
1 vote
87 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 ...
321 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 ...
81 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. ...
167 views

78 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). ...
31 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 ...
136 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 ...
1 vote
105 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: ...
128 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 ...
82 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 ...
40 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 ...
124 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, ...
1 vote
131 views

105 views

### NMaximize error: The function is value....is not a number

I cannot manage to solve this problem: $$max_{p1,p2} \hspace{0.1cm} (p1 - w1) * \frac{\exp(beta*x1 - alpha*p1)}{1 + \exp(beta*x1 - alpha*p1) + exp(beta*x2 - alpha*p2)}$$  + (p2 - w2) * \frac{exp(...
19 views

### Is it possible that an attempt to Save` damages a file to the extent that further work on it becomes impossible?

I have a history of my Mathematica 13.1 having problems sometimes when I try to Save or DumpSave variables with long formulas -- ...
186 views

### VectorPlot "Part 1 of {} does not exist" error

Bug introduced in 7.0, persisting through 13.2. I am looking to plot the Magnetic Vector potential, A, as a function of position along the edge of a density plot. The density plot is fine, and I ...
40 views

### IntegerDigits[] gave an error despite working properly [closed]

I was running the following code, ...
102 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 ...
68 views

### 3D plot not working, find max/min points [closed]

Im trying to plot this graph in mathematica: (x+y)sin(x-y) And this is my in- and output: Plot3D[(x + y) (Sin[x - y]), {x, -50, 50}, {y, -50, 50}] The output is ...
57 views

### How do we optimize the lowest eigenvalue of a symmetric matrix using NMinimize?

I am trying to diagonalize the symmetric matrix while optimizing the lowest eigenvalue subject to constraints. ...
129 views

### Incorrect number # of eigenvectors for eigenvalue

I have the following code: ...
30 views

### Fixing the following error message for the simple substitution $j[bb, a1, a2] //. {j[bb, ll__] -> List[ll].List[b1, b2]}$

For a given Mathematica code j[bb, a1, a2] //. {j[bb, ll__] -> List[ll].List[b1, b2]} I obtain the desired answer which is ...
1 vote
77 views

...
135 views

### Change format of vector for input argument of function

I have a function f defined as list = {a1, a2, a3, a4, a5, a6}; expression = a1 + a2^2 + a3^2 + a4 + a5*a6; f = Function @@ {list, expression}; The input in vector ...
1 vote
79 views

### Solve equation - Error - Help

I need to find the value of n but I get an error. I used this: ...
101 views

### Ask Mathematica to always print errors in InputForm

When using Mathematica on the terminal (as REPL or as script) the errors are formatted in this way: ...
160 views

### RuleDelayed (:>) involving Piecewise leads to Piecewise::pairs warning in ReplaceAll (/.)

When I write a replacement rule like this: Piecewise[{{x^2, x < 0}}] /. Piecewise[a_, b___] :> Piecewise[a, b] It works fine, but I get the unexpected ...