Questions tagged [warning-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Error when using NDsolve for Differential-Algebraic Equations

For the system of differential-algebraic equations with boundary conditions, ...
  • 1
0 votes
0 answers
34 views

Possible Bug in DistributionChart? [closed]

DistributionChart is not working on my system with Mathematica 13.1. ...
  • 1
0 votes
0 answers
27 views

What are the most common errors faced by a beginer while using mathematica? any precautions to avoid them? [duplicate]

I would like to know the errors basically faced by beginners while using Mathematica. Are there any precautions or any lookouts to avoid or verify these errors while using mathemetica.
0 votes
0 answers
50 views

NDSolve: error: step size is effectively zero; singularity or stiff system suspected:

I tried the different solutions given in similar past questions but still not able to figure out how to avoid NDSolve::ndsz, ...
  • 583
1 vote
1 answer
123 views

System of ODEs causes NDSolve::nlnum1 warning

I am trying to solve a system of ODEs using some amplitude and frequency with NDSolve, but I get some warnings which is included here. I think my program is fine ...
3 votes
2 answers
80 views

NDSolve::ndnum for initial value problem of 2nd order ODE

I have this code, which I think should work fine ...
3 votes
1 answer
101 views

Understand NDEigensystem::stlin

I am trying to solve Eq.3 and reproduce Fig.2 of this paper using NDEigensystem but fail, what is wrong with my code? ...
6 votes
1 answer
114 views

Understanding NDSolve::ndmmc

When running NDSolve with Method->{"EquationSimplification" -> "MassMatrix"} I frequently encounter ...
  • 475
7 votes
1 answer
75 views

Check applied to list is not the same as list of Check

My question is in two parts. First, I want to know why Check[#, "Failed"] &@{0^0, 1^1} evaluates to ...
  • 73
4 votes
1 answer
78 views

Tag plus in ....... is protected. Error [closed]

Code is below, i don't know what to do against these errors because im new to this language,i would appreciate any help :) Error Out[139]= -(0.0000157914/(0.00025 + x[t])^2) During evaluation of In[...
2 votes
0 answers
70 views

General::eivn "Incorrect number 3 of eigenvectors for eigenvalue" when calculating Eigenvectors[FourierMatrix[8]]

I just evaluated Eigenvectors[FourierMatrix[8]] in Mathematica (version 12.0.0.0) and got a series of errors like: Eigensystem::eivn: Incorrect number 3 of ...
0 votes
0 answers
27 views

How can we change the EoS (to PR using the Flags function) for REFPROP used within Mathematica?

I would like to change the EoS used by REFPROP to the PR EoS for several calculations. It's stated that the Flags function must be used. " Peng-Robinson or PR 0: Turn off the Peng-Robinson ...
0 votes
0 answers
19 views

Anomalous behaviour in the plot and warning messages coming from numerical integration

I am trying to compute the integration of the function in Mathematica: ...
0 votes
1 answer
33 views

How to fix 'NIntegrate: Overflow/Indeterminate/infinity for all sampling points in the region (...)"

I have a function Nφ0 which depends on another two functions G1 and G2 that are being integrated numerically in a row as: ...
  • 1
0 votes
0 answers
30 views

Double variable integration unable to prove that integration limits are real

I have simple question regarding double integrating a function. J*Integrate[Integrate[Cos[ArcTan[Sqrt[(x - a)^2 + (y - b)^2]/L]], {b, -b, b}], {a, -a,a}] The error ...
2 votes
1 answer
58 views

LinearOptimization thinks 0-1 ILP is an MLP

I try to solve this 0-1 integer linear program (maximize, thus the minus) with LinearOptimization: ...
  • 23
0 votes
1 answer
72 views

Non-numerical values [closed]

I want to numerically integrate ...
1 vote
0 answers
66 views

How to handle "too small to represent as a normalized machine number" when plotting a figure [duplicate]

I am trying to plot a figure by the following codes: Plot[(27 2^((-2 + a)/(-1 + a)) 5^(a/(-1 + a)) 7^(1/(1 - a)) a^2)/((-1 + a) (4 + 9 a)), {a, 1.001, 3}] ...
  • 53
0 votes
1 answer
72 views

Manipulate won't display the solution of NDSolve despite NDSolve working fine without any problems

Code: ...
  • 77
5 votes
2 answers
130 views

Unable to supress warning message following extended precision second run of ListLogLinearPlot

Unable using 13.1.0 for Mac OS X ARM (64-bit) also seen on 12.3.0 for Mac OS X x86 (64-bit) (May 10, 2021), and MMA version 13.1 Windows 10 to suppress pink box output around ListLogLinearPlot and ...
  • 635
1 vote
0 answers
49 views

Mathematica incorrectly claims an infinite sum doesn't converge

When I compare the output of the following commands I get contradictory results: Sum[BesselJ[k, 1], {k, 0, Infinity}] NSum[BesselJ[k, 1], {k, 0, Infinity}] The ...
  • 941
5 votes
0 answers
83 views

Warning from CompiledFunction is permanently off silently after generating for 3 times, bug or feature?

I've been vaguely aware of this behavior for a long time but never looked into it. Consider this sample: ...
  • 58.6k
0 votes
1 answer
213 views

Wolfram code not working on Mathematica [closed]

Here is my code I got from Wolfram alpha but when I try to use it on Mathematica it gives me an error ...
0 votes
1 answer
41 views

Why does Mathematica return `$Failed` with this function definition?

Why does Mathematica return $Failed with this function definition? This function is from an answer in my previous post and it was working well. I'm using ...
  • 2,720
0 votes
0 answers
45 views

"Could not read some data from some file"

This problem happens quite regularly. Does anyone know how to solve it? This is the information about the software. I'm wondering if this is related to Google Drive storage. The file is saved ...
  • 2,720
0 votes
1 answer
42 views

Error: Invalid integration variable or limit(s) in {-6.28293,0,\[Pi]/2}

When i try to evaulate h at vaule (for example 0), i get a result. When i directly plot the output of h, it also works, but when ...
1 vote
1 answer
214 views

Plotting highly oscillatory integrand

Answer using the numerical integration was provided here https://mathematica.stackexchange.com/a/276353/88922 I want to NIntegrate and plot a highly oscillatory function, but get errors which I don't ...
2 votes
1 answer
63 views

How to remove debugging prints from my package?

I'm using my own package, partly based on Ted Ersek's RootSearch package, partly based on some posts on this portal. It has a lot of debug prints coded like this: ...
2 votes
1 answer
44 views

Error thrown by compiled expression

The following code is a minimal model of an error I am getting. It returns the error Compiled expression {{0,2},{2,0}} should be a machine-size real number. and <...
2 votes
1 answer
99 views

Warning message when summing from a elements in a list

Why does adding two elements from a list as follows: test = {1, 2}; NSum[test[[n]], {n, 1, 2}] lead to the warning "The expression n cannot be used as a part ...
  • 941
0 votes
0 answers
12 views

How to check if a cached expression Once[...] exists to prevent a generated Message of Failed when Unset

I need to occasionally programmatically Unset a Once[expr] expression from within a function without generating an error if the ...
  • 2,327
1 vote
1 answer
133 views

Trapezoidal method for ODE results in cmsing warning

I try to solve an ODE using the trapezoidal method. I do the following (Definition of Trapezoidal is from this answer): ...
  • 843
1 vote
0 answers
36 views

A successful StringReplace with an error message [closed]

An example of StringReplace and RegularExpression : ...
  • 3,379
0 votes
0 answers
56 views

NDSolve does not work at all. It always shows me the "Equation or list of equations..." error, even though I've cleared ALL cache and data [duplicate]

Literally a one line code: NDSolve[{x'[t] == x[t] + 3, x[0]==3, x'[0]==3}, x[t], {t, 0, 10}] It shows me the error, that: NDSolve : Equation or list of equations ...
  • 163
0 votes
0 answers
80 views

Equation or list of equations expected instead of False in the first argument when using DSolve. Why? Code is very simple, so I don't understand why [duplicate]

...
  • 163
1 vote
1 answer
63 views

Using FindRoot and having problems with $MaxExtraPrecision

I'm trying to find the roots of the function radial, written below. And to make this, I'm using the function \[Omega]ini to ...
0 votes
0 answers
30 views

Plot Power::infy,1/0. error caused by machine precision x-values: Is there a fix within the Plot routine?

Question: how to get the Plot routine to select independent variable values that are not in machine precision? One Answer is to just use ListPlot, which doesn't have that problem. Is there anything ...
  • 635
2 votes
0 answers
52 views

Is it safe to alias a ResourceFunction with a symbol of the same name?

The following will show how easy I alias Ding which is my very first ResourceFunction and it works very well. ...
  • 2,327
0 votes
1 answer
39 views

DiscretePlot of a function containing Nintegrate under Sum

I am trying to get DiscretePlot of the following integral containing laguerre polynomial, the Mathematica code of which is given below: ...
2 votes
0 answers
68 views

Bug of RandomPoint or Bug of Region?

Mathematica 13.1 on Mac In the help page of RandomPoint, it says: RandomPoint can generate random points for any RegionQ region that is also ConstantRegionQ. The data of mesh is here ...
  • 8,369
1 vote
0 answers
73 views

ListLinePlot is not a list of numbers or pairs of numbers

I am getting this error 'ListLinePlot is not a list of numbers or pairs of numbers' However I'm not really sure what it means, the data set is a list of pairs of numbers. Even the more complex version ...
  • 505
0 votes
0 answers
33 views

How to make the Semidefinite Optimization method work?

I am trying to use Mathematicas Semidefinite Optimization problem for moment matching. The code is as follows: ...
  • 101
0 votes
0 answers
49 views

LinearModelFit not working

Why will the following run ...
  • 941
4 votes
1 answer
94 views

Problem with AssociateTo inside list [duplicate]

Why does assocList = {<|a->1, b->2|>, <|c->1, d->2|>}; AssociateTo[assocList[[2]], c->3] work, but ...
  • 633
4 votes
1 answer
52 views

How can I capture the generated message inside Check?

Consider the following toy function: ...
  • 4,915
4 votes
1 answer
101 views

Why "Repeated convergence test failure" disappears in rare cases while occurring in most runs?

I am trying to solve huge ordinary differential equation of second order using ParametricNDSolve. My code worked fine until I moved to a new model of plasma ...
1 vote
0 answers
30 views

Message misrendering line-wrapped Boxes in strings

Consider this simple incorporation of Boxes which render MatrixForm into a Message: ...
  • 1,113
1 vote
0 answers
70 views

Building a structure out of cubes one block at a time

I have simplified code in which the motion of a point charge is simulated N times (one particle at a time) in a static electric field. When the point charge comes to rest (using WhenEvent boundary ...
  • 363
10 votes
1 answer
132 views

Why Integrate gives warning "Internal precision limit $MaxExtraPrecision = 50. reached" when working on purely symbolic expression?

Report to WRI [CASE:4959987] in V 13.1, integrating a symbolic expression gives an N::meprec message: The question is why would this be generated since ...
  • 124k
0 votes
1 answer
69 views

How to plot the derivative of a piecewise discontinuous function (by excluding discontinuity points)?

With the following code I am trying to get a plot for the derivative of the ftot1 function, which is a piecewise discontinuous function defined as the sum of other two piecewise discontinuous ...
  • 1

1
2 3 4 5
28