Questions tagged [warning-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
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: ...
Sean Svihla's user avatar
0 votes
0 answers
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 ...
Venkatakrishnan's user avatar
1 vote
1 answer
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 ...
Benjamin's user avatar
1 vote
1 answer
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). ...
Larissa Santos's user avatar
0 votes
2 answers
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 ...
Sean's user avatar
  • 23
2 votes
2 answers
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 ...
Larissa Santos's user avatar
1 vote
1 answer
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 ...
Larissa Santos's user avatar
2 votes
1 answer
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: ...
Peter's user avatar
  • 21
3 votes
1 answer
367 views

Sum works with 1000000, fails with 2000000 - bug?

Consider the following: ...
rogerl's user avatar
  • 4,209
1 vote
1 answer
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: ...
Brendan Darrer's user avatar
2 votes
1 answer
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: ...
Gabriel Rodrigues's user avatar
5 votes
3 answers
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. ...
Athanasios Paraskevopoulos's user avatar
7 votes
1 answer
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 ...
BioPhysicist's user avatar
-1 votes
1 answer
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: ...
csn899's user avatar
  • 2,879
1 vote
1 answer
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 ...
csn899's user avatar
  • 2,879
4 votes
6 answers
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 ...
Archisman Panigrahi's user avatar
0 votes
0 answers
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. ...
AmsaJYP's user avatar
4 votes
0 answers
167 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
  • 261
0 votes
0 answers
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). ...
Cham's user avatar
  • 3,959
0 votes
0 answers
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 ...
Colin Baker's user avatar
2 votes
1 answer
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 ...
Cham's user avatar
  • 3,959
1 vote
1 answer
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: ...
Gorkem Aksaray's user avatar
2 votes
2 answers
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 ...
Cham's user avatar
  • 3,959
3 votes
1 answer
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 ...
Cham's user avatar
  • 3,959
0 votes
1 answer
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 ...
PiE's user avatar
  • 427
4 votes
1 answer
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, ...
Cham's user avatar
  • 3,959
1 vote
2 answers
131 views

NDSolve "Coupled differential equation"

I am trying to solve the given coupled differential equation using NDsolve. $$ \begin{array}{c} n''(r)+\frac{n'(r) T'(r)}{T(r)}+\frac{n'(r)}{r}+\frac{n(r) T''(r)}{T(...
Shalu Rani's user avatar
0 votes
0 answers
73 views

Luminical distance numerical integration and plotting

Considering the following dynamical system and initial conditions: ...
Syn1110's user avatar
  • 51
1 vote
1 answer
73 views

numerical integration - Numerical integration converging too slowly

I am trying to run the following code ...
S L's user avatar
  • 721
1 vote
1 answer
80 views

LMDB Library cannot be loaded by `LibraryLoad`, how to compile properly

I cloned LMDB* from https://github.com/LMDB/lmdb and compiled on a Mac M1 with make -e clean liblmdb.so CC="cc -target aarch64-macos-none" which produced ...
Adam's user avatar
  • 3,897
1 vote
0 answers
83 views

Repeated convergence test failure reason in this particular problem

I have the following Mathematica Code to solve a coupled system of ODEs, which in principle is correct and its context is not a priori important: ...
Axionlike particles's user avatar
4 votes
1 answer
102 views

How to evaluate expression completely?

In MMA 13.2, if we run Quantity[1, 1/"DegreesCelsius"] it automatically throw a message But if we run ...
matheorem's user avatar
  • 16.9k
1 vote
1 answer
88 views

Solving a Variable Number of Difference Equations with RSolve

I'm trying to solve a variable number of linear equations defined by $$ \begin{align} x_0 &= A+Bx_1 \\ x_i &= C+\frac{B}{2}(x_{i-1}+x_{i+1}), \hspace{.25cm} 1\leq i \leq n-1 \\ x_n &= C+...
Mike D's user avatar
  • 113
0 votes
0 answers
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(...
Jakob's user avatar
  • 1
0 votes
0 answers
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 -- ...
florin's user avatar
  • 1,592
7 votes
1 answer
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 ...
Jack Adams's user avatar
0 votes
1 answer
40 views

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

I was running the following code, ...
youthdoo's user avatar
  • 145
0 votes
1 answer
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 ...
Yusra Zabarmawi's user avatar
0 votes
1 answer
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 ...
Kei Len's user avatar
  • 27
0 votes
0 answers
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. ...
user31694's user avatar
  • 189
0 votes
3 answers
129 views

Incorrect number # of eigenvectors for eigenvalue

I have the following code: ...
kowalski's user avatar
  • 375
0 votes
0 answers
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 ...
phy_math's user avatar
  • 801
1 vote
1 answer
77 views

How to handle this singularity?NDSolveValue::ndsz: At s == 399, step size is effectively zero; singularity or stiff system suspected

...
Xzy's user avatar
  • 11
4 votes
4 answers
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 ...
thai tran's user avatar
1 vote
1 answer
79 views

Solve equation - Error - Help

I need to find the value of n but I get an error. I used this: ...
Zarabu's user avatar
  • 71
3 votes
1 answer
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: ...
MannyC's user avatar
  • 810
4 votes
1 answer
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 ...
JEM_Mosig's user avatar
  • 2,953
0 votes
1 answer
166 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}(...
Jack L's user avatar
  • 25
2 votes
1 answer
117 views

Error when using FindRoot

Currently I have an equation with boundary conditions as such, $A \frac{d^2\psi}{dx^2}= C_{F}F, \psi(\frac{1}{2})=0,\psi\:'(0)=0$ and I have to use a "shooting method" to find the Dirichlet ...
Jack L's user avatar
  • 25
0 votes
0 answers
99 views

You're running in a mode which does not allow saving files

Does anyone know how to solve this problem? (13.0.1 for Microsoft Windows (64-bit) (January 28, 2022))
internet's user avatar
  • 495

1
2 3 4 5
29