Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

Filter by
Sorted by
Tagged with
2
votes
1answer
176 views

Why program output produces 0 / 1 error

...
2
votes
1answer
59 views

Plotting a two parameter function evaluated at a specific point

I am trying to solve the following problem: given the differential equation $$\frac{d^2y}{dx^2}+\bigg(a+b\frac{2}{\pi}\tan^{-1}x\bigg)y=0$$ subjected to two different initial condition we get two ...
1
vote
1answer
38 views

Error message when trying to solve 2 coupled PDEs using NDSolve

I'm currently facing a problem when trying to solve 2 coupled PDEs. I get the warning messages: NDSolve::fembdcc: Cross-coupling of dependent variables in DirichletCondition[IPF==IPB/10,z==5.] is not ...
0
votes
0answers
37 views

Error while giving initial condition in NDSolve [closed]

I am trying to solve following differential equation $$\frac{d^2y}{dx^2}+(a+b \frac{2}{\pi}\tan^{-1} x)y=0$$ with the initial condition $y(-10)=e^{10i\sqrt{a+b}}$ and $y'(-10)=-i\sqrt{a+b}e^{10i\sqrt{...
4
votes
0answers
75 views
+50

How can I prevent errors with ReplicateLayer[]?

I am trying to build a NetGraph[] that takes input of the form {{0.6},{0.6},...,{0.8},{0.8}} and multiplies the last sequence ...
1
vote
0answers
33 views

Unexpected stiff system error [closed]

Let there be the following functions ya[t_, x_] := Cosh[t*x] za[t_, x_] := Sinh[t*x] wa[t_, x_] := x*Sinh[t*x]^2 One can verify that the following PDE's hold <...
0
votes
1answer
75 views

Solving an equation in integers giving an errormessage

I've the following code: ...
1
vote
0answers
33 views

Scattering propagating wave on potential using Manipulate and ListPlot

I have written the following code: ...
0
votes
2answers
36 views

Getting message NIntegrate::nlim when trying to integrate within a For-loop [closed]

I want to evaluate an integral that has integration limits x and 1. ...
0
votes
1answer
17 views

Error messages generated in a table calculation prevent “good” elements of that table being accessed

If I make a batch fitting routine, something like: ...
3
votes
2answers
118 views

Using the solve function for big numbers, getting a failure now

When I try to solve: Solve[y^2==441+48*x*(1+x)(-13+16*x)&&1100*10^9<=y<=1200*10^9&&x>=2,{y,x},Integers] My code runs for 169 seconds and ...
0
votes
0answers
30 views

TagSet::sym Error using Subscript [duplicate]

I am a beginner to Mathematica and I am trying to get it to solve some equations of a function (vector) $B$ of three components, but first I want it to know that the derivates with respect to one ...
1
vote
0answers
63 views

How much can we trust NIntegrate when NIntegrate::eincr is shown? [closed]

I have been dealing with a high oscillation integration using NIntegrate. The warning of eincr shows that no matter how large (X)...
2
votes
1answer
58 views

InstallR fails on MacOS 10.15 (Catalina)

Here is code I evaluated and the error message: ...
11
votes
3answers
200 views

Inaccurate result from ImplicitRegion

I'm trying to describe the intersection of two cylinders by an ImplicitRegion (in order to use it in NDSolve later). ...
1
vote
1answer
46 views

Manipulate expression giving error messages [closed]

I'm trying to debug this example code from a textbook: ...
6
votes
1answer
74 views

How to help NDSolveValue handle the addition of another dependent variable in a set of reaction-diffusion equations

I am trying to use NDSolveValue to solve a system of coupled reaction-diffusion equations in a 2D space (technically 3D cylindrical coordinates, but due to radial ...
2
votes
1answer
55 views

any way to stop all the following evaluations?

I often slect the whole notebook to evaluate. Sometimes some functions may return wrong parameters, which may happen, for example, I may have forgotten to specify values to some variables in the ...
1
vote
1answer
40 views

How do I use ListPlot with error bars properly [closed]

I'm trying to make a ListPlot with error bars: In this example I want one data point at x = 3, y = 1 and symmetric error bars of magnitude 0.5. This is the code I'm using ...
2
votes
0answers
51 views

Mathematica 8 won't launch on Fedora [closed]

I installed Mathematica on Fedora 31. Installation went fine. No errors. When I start Mathematica from temrinal, I see the banner, GUI opens up, and I see an error in the terminal : There was an ...
3
votes
0answers
34 views

Installing R failed

To install R, I evaluated the following code Needs["RLink`"] InstallR["RHomeLocation" -> "C:\\Program Files\\R\\R-3.6.1"] and I got the follow error messages: ...
1
vote
1answer
58 views

Plotting error from Einstein-Podolsky-Rosen paradox plot [closed]

I am very new to Mathematica, so I might be doing something dumb here. I'm trying to make a graph of the following code and it keeps on giving me an error ...
0
votes
2answers
64 views

Error while using NIntegrate [closed]

I'm trying to integrate an expression I have for a PDF $$p(L, \eta)=\int_{0}^{\infty} \mu \tanh (\mu \pi) P_{-1 / 2+i \mu}(\eta) \exp \left[-\left(\mu^{2}+\frac{1}{4}\right) \frac{L}{L_{\mathrm{loc}}}...
0
votes
0answers
30 views

Error when using NDSolve Unable to find initian condition - beam bending

please I have the following problem: I have a set of equations for the elasto-plastic response. I have decomposed the beam into two segments (the first segment is defined by coordinates [x1,y1] and [...
3
votes
2answers
209 views

What does $ mean in an output? [closed]

Solving a function in more than one variable, Mathematica gives me output in this way: name_variable$number instead of giving me a number. I looked for symbol: $ online, but unfortunately I ...
-2
votes
2answers
66 views

NIntegral failing to converge

I have the following integrals that I am trying to calculate: ...
0
votes
0answers
42 views

Solving an ODE using NDSolve [duplicate]

Here is my code. I do not understand why it does not work. Please help me. ...
0
votes
1answer
50 views

Encountering a non-numerical value for a derivative when evaluating NDSolve [closed]

I'm trying to solve an ODE. I am trying to get a numerical solution. My code is: ...
1
vote
1answer
89 views

Repeated convergence test failure and why?

i have assigned all the values and the ODE assigned is as this ...
2
votes
1answer
119 views

Unable to compute the area of a polygon

I am having trouble computing the area of the following polygon. I have the following polygon: ...
0
votes
1answer
48 views

Error with numerical integration for three parameters optimization [duplicate]

I'm trying to optimize three parameters simultaneously using the following code: ...
3
votes
1answer
97 views

Error of Points in Mollweide Projection

I am currently working on a project using SnIa data and using Mathematica I have obtained the following points (in degrees) through the maximum likelihood process ...
0
votes
0answers
21 views

ParallelTable with NIntegrate and Append

to evaluate a NIntegration inside a loop, so to do faster, I have try to use the ParallelTable, the program runs without error, but get the wrong results. Using Table I get for the list: {0.2, 0, 0....
1
vote
0answers
95 views

Numerical integration of damped wave equation

I am trying to solve the equation $$ \frac{d^2u}{dt^2}-\frac{d^2}{dx^2}\left(c_s^2u+\nu\frac{du}{dt}\right)=0 $$ with initial conditions $$u(x, 0)=0$$ $$\frac{du}{dt}|_{t=0}=0$$ and boundary ...
3
votes
0answers
61 views

Why does FindInstance take so long: It is faster with more restrictions than with less?

A support case with the identification [CASE:4347836] was created. I just noted this little puzzle on twitter by Brillant.org: \begin{align} A B C\\+ BCA\\ = CDE \end{align} Given that $A$ is even ...
4
votes
3answers
193 views

NDSolve will try solving the system as differential-algebraic equations but it didn't get the solution

Please help me deal with this kind of question about ODEs. My codes are as follows ...
1
vote
1answer
39 views

Singularity or stiff system in NDSolve

I have the following piece of code ...
5
votes
1answer
59 views

Why does this stiff BVP return unevaluated but a similar IVP produce a solution?

In Solving a steady-state viscous Burger's equation with NDSolve, one question involves the following problem: ...
0
votes
1answer
35 views

Compiling simple parallel function gives inconsistent results and errors

Im trying to compile the following function: ...
0
votes
1answer
81 views

Why is “1” not a valid variable? Why is there not a function plotted in the Plot function? [duplicate]

This is my code for playing this kind of stuff ...
1
vote
0answers
30 views

Mathematica Error Message Help [duplicate]

when using NMaximize[], I keep getting the following error message: Can someone please explain what <<99>> + <<86>> = 0 means?
1
vote
2answers
68 views
0
votes
0answers
34 views

FindMaximum error (not a real number)

For the code below, I get several error messages once I click the "Enable Dynamics" button. However, once I run the code, the output works fine, so, if that is all I wished to do, I would just live ...
1
vote
1answer
88 views

Having trouble with Part

I'm very new to Mathematica. I'm just trying to plot some data, but Mathematica says there isn't a 7th element my data which is an array of 7 elements. The code before the plot is here: ...
0
votes
0answers
46 views

Need help with the “step size is effectively zero; singularity or stiff system suspected” message

I'm trying to solve a system of ODEa, and I always get a message saying NDSolve::ndsz: ..step size is effectively zero; singularity or stiff system suspected. I tried ...
2
votes
0answers
69 views

Error Message for GrammarRules and GrammarApply

I have been struggling with the following issue regarding an irregularity when deploying and applying GrammarRules. Specifically, it often takes several failed attempts before the execution is ...
2
votes
1answer
31 views

DensityPlot: Error messages and strange bar legend

Bug introduced in 11.1.1 or earlier and persists through 12.0 I want to plot the following DensityPlot with axes given by Trr ...
2
votes
2answers
52 views

Error in a simple plotting code [closed]

I have the following code: ...