A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

Filter by
Sorted by
Tagged with
5
votes
2answers
117 views

Plotting a list of “Numerical” functions

In expressions like Plot[Through@{# &, #^2 &}@x, {x, -1, 1}] Plot effectively interprets the first argument as a ...
4
votes
0answers
98 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 ...
2
votes
2answers
384 views

How to change the integral variable and integral upper/lower limit? [duplicate]

I am dealing with the symbolic operation of taking the antiderivative, e.g., Integrate[f, x] (where $f$ represents a complicated function which cannot return ...
2
votes
1answer
181 views

Why program output produces 0 / 1 error

...
1
vote
1answer
40 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 ...
2
votes
1answer
61 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 ...
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{...
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
76 views

Solving an equation in integers giving an errormessage

I've the following code: ...
1
vote
0answers
34 views
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. ...
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)...
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
119 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 ...
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 ...
4
votes
1answer
507 views

What kind of PDF files that MMA does not read (import)

SORRY that I have tried 5 different files, which were too complicated for MMA to import. So I thought that maybe it just does not read any files. But I was wrong. So edited my question. In here, is a ...
1
vote
1answer
41 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
52 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 ...
-2
votes
2answers
66 views

NIntegral failing to converge

I have the following integrals that I am trying to calculate: ...
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
33 views

Next line without “;” and set::write error => why? [duplicate]

In my code I first wrote : Print["else"] beta156v345 = 1/Sin[theta15]*1/ Sin[theta35]*(Cos[theta13]*1 - Cos[theta15] Cos[theta35]); (* j1^j5 . j3^j5 *) ...
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 [...
0
votes
2answers
317 views

Implementing four-fermions operators on FeynRules and FeynArts

I am trying to implement operators of the form $$ \bar{q}_L \gamma^\mu T^A q_L \bar{q}_L \gamma_\mu T^A q_L $$ where T^A are the SU(3) generators and $q_L$ is the Electroweak SU(2) doublet. I use ...
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 ...
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. ...
2
votes
1answer
186 views

How to figure out why I'm getting a NIntegrate::inumr (nonnumeric values) error?

When I execute the following I get an error: NIntegrate[a x, {x, 0, 1}] NIntegrate::inumr: The integrand a x has evaluated to non-numerical values for all ...
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: ...
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 ...
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 ...
4
votes
1answer
122 views

Bug in HypergeometricPFQRegularized?

Bug persisting through 11.2 I'am facing a trouble with HypergeometricPFQRegularized. Mathematica hangs if imaginary part of one of the arguments has zero imaginary part with decimal point as the ...
5
votes
1answer
160 views

FindEquationalProof with Logic in Wolfram Mathematica

I try to "make" proof in Wolfram Mathematica. Thats a proof: if a->b and b->c then a->c I tried ...
2
votes
1answer
162 views

Can't define average for my matrix

I have a list defined as MarsDisk which, in MatrixForm, has 17 rows and 3 columns, which hold information about a photon energy ...
0
votes
1answer
104 views

Understanding the Reduce error message

I am trying to execute the below expression expecting Reduce[] to provide a range for n1 and ...
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 ...
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....
4
votes
1answer
97 views

How to enter vector inputs in SystemModelSimulate?

A support case with the identification [CASE:4272760] was created. I am having some difficulties to provide vector inputs for a Modelica model using Mathematica. ...
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 ...
0
votes
2answers
80 views

Array of polynomials

So I have a big list of 75 polynomials which I need to apply a sequence of operations to. My original program (an extract of which is below) worked fine: ...