Questions tagged [warning-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
29 views

NIntegrate with AdaptiveMonteCarlo method

I have some complicated function that depends on a few parameters that I need to integrate. It is integrated in the fastest way by using "AdaptiveMonteCarlo" method. However, I have found ...
6
votes
0answers
29 views

BarChart does not display asymmetric error bars correctly

BarChart seems to read the uncertainty in elements the other way around. The object: Around[5, {1, 10}] is evaluated as . However, when you use it in a BarChart, the uncertainties are swapped: ...
1
vote
2answers
78 views

Maximize: x in Vectors[5, R] is not a valid variable

I am learning how to do optimization with a variable number of variables in Mathematica. I tried to write one experiment that I need to do but I have failed to get even a stripped-down version working....
0
votes
0answers
37 views

Part::partw: error in Custom Spline Algorithm

I am attending a Calculus course where we use Wolfram as a supporting tool, and I was trying the algorithm provided for Spline interpolation and I get the error in the picture: ...
4
votes
1answer
45 views

Looking for an explanation of unusual behavior in Divisors[] function

I have defined the function that counts the number of square divisors of input integer x. The function is ...
0
votes
0answers
23 views

Problem with Help (i.e. ?Log, ?Plus, etc.)

I am running Mma Home Edition, on Mac OS X Version 10.10.5 (MacBook Air). I restarted my system and now "?" does not work! Here is some sample output: ?Log (I entered this, and got the ...
3
votes
2answers
61 views

Coupled PDE with nonlinear coefficients: Changing step size to fix large errors?

After help from user @xzczd I was successful in getting Mathematica to numerically solve my PDE (as you can see in this question). When I give realistic parameters for my differential equation, I see ...
3
votes
0answers
42 views

Is there a way to customize how many of the same warning messages are printed?

I have an evaluation inside a Paralleltable which sometimes gives me warning messages. After a certain amount of warning messages it will say: ...
0
votes
1answer
75 views
3
votes
1answer
250 views

DSolve can't solve DSolve[f'[x] == InverseFunction[f][x], f[x], x]

Here is the code I tried. DSolve[f'[x] == InverseFunction[f][x], f[x], x] The pop-up message is DSolve::dvnoarg: The function f appears with no arguments. But I ...
0
votes
0answers
39 views

Fixed Step Size in NDSolve

I'm trying to solve this system with a fixed step size of 0.1, ...
6
votes
1answer
67 views

How to make Mathematica only output the error name, rather than the full error message?

For example, when I use LinearSolve, an error message might be encountered: ...
0
votes
0answers
80 views

Error in Monte Carlo simulation. Now Random walk (dotted curve) doesn't fit to the analytical curve (dashed curve)

I've been trying to code a kinetic monte carlo simulation for a system of consecutive chemical reactions using a fixed (repaired) code that the user flinty gives me in the last questions I post: ...
3
votes
1answer
69 views

NDSolve Inconsistent equation dimensions

I am getting an error while trying to solve for a differential equation. It is saying "NDSolveValue::femper: PDE parsing error... Inconsistant equation dimensions." I was wondering if anyone ...
0
votes
1answer
32 views

How to stop NIntegrate from throwing slwcon error on integrals with Heaviside theta/step functions?

The following code throws two errors (slwcon and eincr): NIntegrate[y x^2 HeavisideTheta[5 - x - y], {x, 0, 10}, {y, 0, 10}]. Is there are "good" way to ...
0
votes
0answers
38 views

WolframKernelException: Failed to communicate with kernel

I am an absolute beginner of Mathematica!! .. I have downloaded, installed and activated the wolfram engine (12.1) on Windows. I have installed the WolframClient and kernal location is in kernelLoc = '...
0
votes
0answers
20 views

Getting MatrixPropertyDistribution::sclrvctr: error from documentation example

I'm new to StackExchange, but I am having a strange error using just downloaded Mathematica 12.1.1.0 (Student version). I'm trying to use the MatrixPropertyDistribution function, but Mathematica gives ...
-1
votes
1answer
29 views

Accessing Elements in a nested list

I have nested list of the form: (which I don't want to flatten :) ) lol = {{"hello", "bye", "bye", "Hello"}} How do I ...
0
votes
0answers
41 views

Solve::nsmet error message while trying to find symbolic solution for equation

I would like to solve several equations for x and I'm looking for symbolic solutions. The later ones might have some rather difficult or no result at all, but I ...
0
votes
1answer
43 views

Invalid comparison in Manipulation with Stepwise function

I want to draw a graph of the function that I specified using Piecewise. Though I can draw a graph, I keep getting errors saying invalid comparison with -xx + yy i attempted. The followings are my ...
0
votes
0answers
95 views

Why the following set of ODEs is not integrated?

Consider the following dataset: ...
0
votes
0answers
55 views

An option must be a rule or a list of rules - error

I want to plot the following code, in 1D. However, code displayed below is not being plotted; no results or errors are displayed ...
1
vote
1answer
24 views

Error: Root::npoly: not a polynomial in #1 [closed]

I have a $45\times 45$ matrix $H$ and its elements depend on $Ca$. I want to find its eigenvalues (which will also depend on $Ca$). I do this using: ...
1
vote
1answer
32 views

Issue with transferring list with different length to excel

I have two lists with different lengths and would like to transfer them to excel with the titles "Normalx+" and "Normaly+" respectively. I am using the following script, although ...
1
vote
0answers
44 views

Numerical Definite Integral of Numerical Laplace Transform

I'm having problem taking the numerical definite integral of a numerical Laplace transform that depends on two variables due to NIntegrate:inumr errors: ...
1
vote
1answer
51 views

Correcting error messages emitted by ListPlot

I have an assignment to use Module and in which I have to implement: The input of the program are a list of numbers and a list of strings Check whether every ...
1
vote
0answers
49 views

Problem with Region Intersection

I have two regions defined as ImplicitRegion[]. ...
2
votes
1answer
80 views

How to implement an “if an error occurs”-condition in Mathematica programming?

In general Mathematica may return a value even if NDSolve has run into error. A simple example is ...
0
votes
1answer
50 views

'x' occurs twice in a nested scoping construct, in a way that is likely to be an error

I am defining the following innocent looking function (which defines a linear function passing through two given points): ...
0
votes
0answers
29 views

After any execution temporary error comes out ,How to fix error in temporary directory

how can I repair this error that started to come out of nowhere, I have not made any changes in the equipment but mathematica accuses that error ...
0
votes
0answers
17 views

Confusion about EstimatedProcess::ntsprt error

Given the data as follows, ...
0
votes
0answers
35 views

Nintegrate providing results much smaller than what is expected

This is the first time I am posting something here. So, apologies if I make any mistake. I am dealing with a numerical integration in Mathematica-11.0 that has a Bessel function in it. In order to ...
1
vote
0answers
32 views

NDSolve w/ vector-valued function doesn't work with addition of outside function?

I'm trying to use Mathematica to solve a problem of orbits, specifically solving for the trajectory of a spacecraft moving near the Earth and Moon. I assume that the Earth is fixed at the center of ...
4
votes
1answer
53 views

Nonlinearmodelfit with integral or nintegral as constrain

Until now I have been using the Nonlinearmodelfit without any issues, but I want to add a new constrain (Integral or NIntegral) to my modelfit. My fitting function is ...
1
vote
1answer
78 views

NIntegrate::slwcon, NIntegrate::eincr and NIntegrate::inumri

I have the following code to evaluate the double integral of which the integrand contains summations. ...
3
votes
0answers
27 views

Importing notebooks with definitions that cause messages during formatting

According to reference pages, Quiet "does not quiet messages that occur during formatting", which typically is just a nuisance, but it seems to affect ...
1
vote
1answer
88 views

General::ivar: is not a valid variable [duplicate]

...
6
votes
1answer
78 views

how to obtain all Messages for Mathematica build-in functions?

Help says Messages[symbol] gives all the messages assigned to a particular symbol. These are called message identifiers per help: Message names always consist of ...
5
votes
2answers
749 views

Bug in Integrate?

In v. 11.1.0.0 Mathematica for Linux Integrate[Sin[Cosh[t]], {t, 0, Infinity}] returns Integrate::idiv: Integral of Sin[Cosh[t]] does not converge on {0,[...
1
vote
0answers
40 views

Using LinearLayer for NetEncode[{“Characters”}]

So, I'm trying to make a net to translate a phrase. But I'm uncertain of the use of LinearLayer for a NetEncoder for Characters and getting some error in the training process. Here a toy example of ...
1
vote
1answer
84 views

Why does this integral not compute?

I have the following set of equations: $$ T_{man} (\phi_{max}, p_{max}) := \frac{\phi_{max}}{p_{max}} $$ $$ \dot\phi_{ac} (T_{trig}, \phi_{max}, p_{max},t) := \begin{cases} 0 & t<T_{trig} \\ ...
1
vote
1answer
37 views

Mathematica reduces domain when simplifying function

This question was initially (wrongfully) posted on Mathematics SE. I have the following expression: $$ \sqrt{1 + 10^{\frac{rdb}{10}} + 2^{1 + \frac{rdb}{20}} 5^{\frac{rdb}{20}} \cos(\mathrm{pdiff})} ...
2
votes
0answers
55 views

Error: “Cannot set current directory” if directory name starts with tilde “~”

On MacOS, there seems to be a bug in FileNames[] when a directory starts with a tilde ("~"). Does anyone else see this behavior?: ...
0
votes
0answers
25 views

Can certain precision goals not be met by NIntegrate?

I am running into a problem with NIntegrate where PrecisionGoal cannot be met. An example is as follows: ...
1
vote
0answers
41 views

What does Eigensystem::geinsl1 mean (a solution for the generalized eigenproblem may be incorrect)?

I'm trying to solve a generalized eigenvalue problem and ran across a warning Eigensystem::geinsl1: Warning: a solution for the generalized eigenproblem may be incorrect. Here's a minimal working ...
0
votes
0answers
36 views

Correct structure in Runge-Kutta method for NDSolve

I'm kind of new in this software and in some cases I just don't know what is going wrong with my code. One of some cases is the first error that the line 22 for the Plot gives me (in the picture). I ...
0
votes
1answer
57 views

Simple pendulum animation using Lagrangian, problems with Graphics[]

I am trying to create some animations of classical mechanical systems in mathematica by using Lagrangians. I wanted to start off by doing the simple pendulum that is visually just a line, then adding ...
0
votes
1answer
47 views

Solve Unable to Solve with Inexact Coefficients [closed]

I am trying to find fixed points for a set of 3 differential equations by setting the first derivatives to zero. I plug these equations into Mathematica's Solve[] function like this: ...
1
vote
0answers
41 views

Why does Plot[D[x,x],{x,1,10}] throw error? [duplicate]

I am experiencing unexpected behavior from Plot and D, and I would like to understand why. If I try this: Plot[D[x,x],{x,1,10}]...

1
2 3 4 5
23