Questions tagged [warning-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
129 views

There are some warnings thrown with NDSolve here. How can I change my code to avoid them?

I want to solve some differential equations, but the warnings "NDSolve change the value" are thrown. How do I change the equations? Are there some equations that are not allowed? Are some ...
0
votes
0answers
19 views

Messages no longer appearing beneath code [duplicate]

At some point after I updated to 12.3.1 I started noticing that messages stopped appearing beneath the code. So for example, I used to be able to do 1/0 and I'd see ...
0
votes
1answer
28 views

Suppress "integral does not converge" error message

Is there a way to suppress this error message and beep?
7
votes
1answer
95 views

Compile Can Handle Passing an Empty List Only When Returned by Some Functions?

There seems to be a bug whereby Compile can deal with empty lists only when passed in some cases. Consider the case below. ...
1
vote
0answers
63 views

NIntegrate and MaxRecursion

I'm using NIntegrate to get the value of a very complicated function f[k,T,M], where T and <...
0
votes
0answers
78 views

Part specification is longer than the depth of object

I want to solve the function lns50 all the values are Part 1 of an List ...
1
vote
1answer
79 views

Non-numerical values for integral

I am trying to solve the following integral numerically ...
2
votes
0answers
38 views

JordanDecomposition not evaluating

When there are very small differences between entries in a diagonal matrix, sometimes JordanDecomposition does not evaluate and gives an error message: ...
10
votes
1answer
258 views

"instruction 9223372036854775807" Bug and Bug with Using DeleteCases[] inside Compile[]

I get an error referring to "instruction 9223372036854775807" as follows. I run the code ...
1
vote
0answers
42 views

What do do if Mathematica stops without error messages?

I am trying to run the relatively simple code ...
0
votes
1answer
53 views

Mysterious RegionDistanceFunction::regp message

Bug introduced in 12.3.1 or earlier [CASE:4853257] I encountered a strange problem with RegionDistanceFunction. Consider this list of points (I'm forced to use <...
0
votes
2answers
85 views

Mixed Integer and real domain for variables

Does Mathematica support in Maximize function to put some variables belong to Integers and others to Reals I tried that but I have an error that this not implemented yet is there any way to do that ...
1
vote
0answers
51 views

logit ScalingFunctions

Having learned how to make symlog axes in this question, I was interested in the logit scale, the transforms of which are ...
1
vote
0answers
47 views

NDSolveValue BVP that encounters infinity

Problem setup: I'm trying to solve the following, quite hairy, first order BVP problem, with four unknown functions $\phi, \theta, p_\phi, p_\theta$, and boundary conditions at $\phi(0), \phi(1), \...
1
vote
1answer
82 views

how can i solve a system with inexact coefficients

I try to solve this system: e1 = H1[0, y] - H1[0, Y] e2 = H2[0, y] - H2[0, Y] with ...
2
votes
0answers
21 views

[NDSolve error]: Equation or list of equations expected instead of 0.0001` in the first argument {(s^\[Prime])[t]==-0.325 s[t]-1.5 i[t] s[t]-1.5 [closed]

I am trying to have 5 PDEs with 5 unknowns, with code below However, I always receive the error message that Equation or list of equations expected instead of 0.0001` in the first argument {(s^[Prime])...
0
votes
0answers
46 views

parallelization works only with one kernel

I am using MMA 12.3.1 on Ubuntu 18.04, and my license support parallelization. The default kernel is Local and I create another one named newKernel. when I launch MMA and choose Local to perform some ...
2
votes
0answers
63 views

NSum complaining of being non-numerical

I am trying to evaluate the sum $\sum_{k,l=1}^{30}\frac{1}{(k^2+l^2+1)^{5/4}}$ so I write NSum[1/(1 + k^2 + l^2)^(5/4), {k, 1, 30}, {l, 1, 30}] but I get a message ...
2
votes
0answers
29 views

How to remove "Qt issued a fatal error: QXcbConnection: Could not connect to display"?

I'm using Mathematica 11.2 on Linux. At the end of my script, I'm adding an Export command to export my results into a pdf file. I'm receiving the error msg: Qt ...
0
votes
0answers
49 views
1
vote
0answers
113 views

NDSolve Error test failure at t == 5082.429032772312`; unable to continue

I am quite new to Mathematica, please help me struggling out of this question. I want to know how the HNO3 and HNO2 change in the system. first, I put the kinetics of some reactions: ...
4
votes
0answers
92 views

How to use NDEigenvalue to accurately estimate functional determinants?

Goal: Ultimately, I would like to find a trustworthy approximation for the ratio of the functional determinant of two differential operators using the formula $$ \frac{\text{Det}[\hat{D}_0]}{\text{Det}...
0
votes
0answers
31 views
0
votes
1answer
39 views

Differentiation inside recursive expression is not compatible with Manipulate [duplicate]

Define a sequence of function recursively: f[n_, x_] := D[Exp[x] f[n - 1, x], x] f[0, x_] = 1 Then, the following Manipulate ...
5
votes
2answers
179 views

Error message shows up when I start working on a previously saved notebook on Mathematica

I am new to Mathematica and hope this is not something very obvious. Whenever I start a new session on Mathematica and try to work on a previously saved file, Mathematica shows me the error message I ...
1
vote
1answer
70 views

How to force Mathematica throwing an error box intentionally?

When building a Module function, I try to throw an error box when this function facing some cases. But I don't know how to output this error box with ground methods. This picture is the Mma error bar ...
0
votes
1answer
45 views

Code Producing Power::Infty

I tried computing the following ...
0
votes
1answer
54 views

Simple help with DSolve

I am new to Mathematica in general. Just trying to solve a couple of coupled ODES. Dont really understand the error it throws. ...
0
votes
2answers
56 views

NDSolve Encountered non-numerical value

Below a sample of some first-order differential equations I try to solve. Although there are no non-numerical values involved in the equations, Mathematica systematically spits out "Encountered ...
2
votes
1answer
98 views

NIntegrate fails to solve a double oscillatory integral

I need to compute the following integral: ...
1
vote
0answers
31 views

Why do I get the (NMinimize::nrnum) error and how to fix it?

I have an energy function which depends on the angles of the electrons({x} symbol for theta) and phase of electrons({y} symbol for phi). I am using NMinimize to minimize the energy with respect to {x}...
0
votes
1answer
85 views
4
votes
1answer
75 views

<<Notation` raises warnings

In a completely fresh kernel (after Quit[]ing), when I do <<Notation` I am met with ...
0
votes
0answers
57 views

Error while using NDSolve

I'm trying to solve a PDE using NDSolve. cfun = NDSolveValue[pde, c, {t, 0, tEnd}, DirichletCondition[c[t, x] == 5, x == 0], {x} \[Element] mesh]; I get the ...
1
vote
1answer
72 views

NDSolve::ndsz: step size is effectively zero; singularity or stiff system suspected + other warnings for system of differential equations

I'm trying to solve a set of differential equations numerically to get a 3D plot, but I am getting multiple different warnings and errors. First of all, here is the code: ...
0
votes
1answer
43 views

ArgMax : Variable Domain Error [closed]

I'm attempting to utilize the ArgMax function, but am receiving the error "ArgMax::vdom: Variable domain ... should be either Reals or Integers." ...
0
votes
1answer
53 views

NIntegrate allegedly evaluating to non-numerical values

I'm getting non-numerical-evaluation error messages despite not having any symbolic variables in my code. Here's a MWE representative of what I'm doing: ...
8
votes
1answer
327 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 ...
0
votes
0answers
71 views

How to change Machine Precision digits to meet the tolerances

I am trying to solve for Tcm and Mag by solving nonlinear equations using FindRoot command using following code: ...
0
votes
1answer
67 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]}]. ...
3
votes
1answer
66 views

Even though the fit seems correct, NonlinearModelFit throws a failed convergence error

Consider the following data ...
0
votes
1answer
80 views

Differences in Mathematica's behaviour with identical functions

I have three functions whose identity was verified, but WM doesn't behave itself equally with them. The code is: ...
0
votes
0answers
34 views

Print[] text in the style of Message[]

I would like to imitate the aesthetic style of Message[] text, but using Print[], and customising the colour. The output I ...
0
votes
1answer
71 views

Errors relating to MatrixFunction

I ran this and got some errors. Does anyone know how to solve this? First I want to caluclate A^2(A+I) with ...
0
votes
1answer
41 views

Mathematica Not Loading

Mathematica 12 was working fine, but after recent updates (Nvidia drivers and Windows 10) the kernel will load happily, but when trying to load Mathematica the screens hang and I'm greeted with a ...
1
vote
0answers
47 views

How to apply percent error to list of data [closed]

Say I have a list of data. data = {1,2,3,4,5} and those data values were measured with an instrument that has a listed 3% error. I can apply this per value with ...
2
votes
0answers
58 views

How to produce an error message for each argument?

I want to print a helpful message for every wrong input. How do you compactly implement a function with custom pattern constraints, default values and error messages for each argument separately? For ...
1
vote
1answer
106 views

Solve using PolyGamma function

I am trying to solve for the value of y. My code is: x = 0.165; f = -Log[y] - PolyGamma[0.5 + 0.2*(x/y)] + PolyGamma[0.5]; Solve[f == 0, y] Running gave me ...
1
vote
1answer
44 views

The expression Cycles[{}] cannot be used as a part specification?

I am trying to do the following: S = GroupElements[SymmetricGroup[4]]; Nest[PermutationProduct[S[[2]], S[[#]]] &, 2, 3] But this yields the following errors: ...

1
2 3 4 5
25