Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

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

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

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 ...
1
vote
1answer
53 views

An error of unequal length when using Transpose[y]? [closed]

Why do I get this error? I just clicked shift+enter in the y and it appeared. https://i.stack.imgur.com/IAKs8.png This is the data ...
1
vote
0answers
45 views

Mathematica stops showing messages, how to get them back?

I realized that, for an identical expression, sometimes I get an error message and sometimes I don't. If I then shut down and restart Mathematica, messages are back. How can I get messages back ...
1
vote
3answers
525 views

Wolfram Mathematica on mac os Mojave

I found out that Apple stop support programms with 32-bit architecture in new Mac OS Mojave, has anyone already updated??? I want to see new dark mode, but if WM will stop working it will be a problem....
2
votes
3answers
514 views

Solve piecewise function

I have two piecewise function ...
1
vote
1answer
80 views

Estimation of the error for zero degree of freedom fit with error bar

I am performing a fit on experimental data with zero degree of freedom but with error bar using NonlinearModelFit: ...
1
vote
1answer
67 views

Compile errors after reloading of laptop contents after challenging MacOS Mojave installation

I tried (foolhardily, it appears) installing macOS Mojave Version10.4 on my MacBookAir, but encountered major problems--that seemed to have been (finally) fixed after a reinstallation and reloading of ...
1
vote
1answer
39 views

ScalingFunctions produces a warning on ListDensityPlot

Using ScalingFunctions in a ListDensityPlot produces a warning "An unknown option name has been used." Yet, the code still seems ...
1
vote
2answers
102 views

Solving an ODE with a sign/step function which depends on the time derivative

I'm trying to solve a set of ODEs with a Heaviside step function which depends on the sign of the derivative of the function. This is a simplifying example of what I'm trying to do ...
0
votes
1answer
122 views

Problem with fitting square root-like function

I have following data: ...
1
vote
1answer
94 views

Is it possible to open this corrupted file

I get the following message: There was a syntax error on line 23 in the file: Petrin_methodu_ile.nb. The error was: When I open the file I just get the ...
1
vote
1answer
27 views

Problem with building graphic using ListPlot [closed]

I want to build the graphic using ListPlot but it doesn't work. I get list in next form: ...
-1
votes
1answer
98 views

Getting errors NIntegrate::nlim and NIntegrate::slwcon [closed]

Here is the modified question: First: Define phi[x_]:=Piecewise[{{1, 0 <= x < 1}}, 0] ...
0
votes
0answers
80 views

Understanding BoundaryMeshRegion error

I am trying to calculate the difference between two Cuboids: ...
-1
votes
4answers
200 views

Problem with NIntegrate over a highly-oscillatory integrand

I'm trying to numerically evaluate the integral $$\int_{a}^{b}\mathop{\mathrm{d}x}\int_{x}^{b}\frac{\sin(x-y)}{xy}\mathop{\mathrm{d}y}$$ using Mathematica. To do that, I the function ...
0
votes
0answers
92 views

Document Center Search is not working in Mathematica 11.3?

If I type "Table" (without the quotes, of course) or any other search term into the Documentation Center search, I get: ...
0
votes
0answers
38 views

Weird fluctuations in DensityPlot

I have a really long multi parameter Lorentzian function: ...
0
votes
1answer
95 views

Simulating the motion of the Earth around the sun based on Kepler’s laws

I am using Mathematica 10.3. I want fo perform a computational analysis of the motion of the Earth around the sun based on Kepler’s laws. Here is my code so far. ...
0
votes
1answer
34 views

Solve command code problem with system of equations

This is my original equation f[x_, y_] = (4 x^2 + y^2)*Exp[-x^2 - y^2]; So I'm trying to find the partial derivatives w/ respect to $x$ and $y$ and set them ...
2
votes
2answers
66 views

NDSolve producing message Power::infy

I am trying to solve geodesic equations in some 3D black hole spacetime. It is a coupled ODE system with boundary conditions. Due to the symmetry of the spacetime, I expect the solutions to be even ...
1
vote
1answer
52 views

Using Thread with Plot is producing error messages [closed]

I have this code: ...
0
votes
0answers
37 views

Odd glitch in `PrimePi` [duplicate]

When I plot PrimePi, I get an odd graphical glitch for some values of x. For example, this plots fine: ...
1
vote
2answers
69 views

Ignoring overflows in SDE simulations

I'm trying to compute the average of the solution to an SDE by simulating some of its sample paths and then taking their Mean. The problem is my SDE is explosive ...
2
votes
0answers
57 views

How can I deal with a SystemException?

I have a list of functions that are being evaluated, using ParallelTable[], and continue to get the error message: ...
3
votes
1answer
128 views

Force a function to report argument type mismatches

As a relative newcomer to Mathematica, I am still frequently caught out by coding errors that, at least by default, MMA does not indicate to the front end, in particular when I define a function and ...
0
votes
0answers
217 views

ParallelTable::nopar: No parallel kernels available; proceeding with sequential evaluation

I am trying to use a the following code: ...
2
votes
1answer
60 views

Understanding this Set error

Given the toy vector: ...
1
vote
2answers
122 views

Input editor does not like my Thread over Circle expression

I am using Mathematica 11.3.0.0, 64 bit. Here is my code: Graphics[Thread[Circle[{{-1, 0}, {0, 0}, {1, 0}}, {0.5, 1.0, 0.5}]]] Here is code as it looks in a ...
0
votes
1answer
192 views

Where can I download the ErrorBar Plotting Package? [closed]

I'm trying to find the link to download the ErrorBar Plotting Package but I just can't seem to find it. The only link I have is the following: https://reference.wolfram.com/language/ErrorBarPlots/...
8
votes
1answer
158 views

How to use reverse scaling function with error bars?

I have data which I would like to plot along with the corresponding error bars: ...
0
votes
2answers
67 views

Need help with ODE producing error ParametricNDSolve::dsvar: [closed]

The function below is a function of the independent variable a with parameter n0. My goal is to get numerical value for ...
0
votes
1answer
57 views

System of equations produces error message and no solution [closed]

I am trying to solve a set of 9 equations. I keep getting an error letting me know that tag plus in a variable is protected. please help. ...
0
votes
2answers
193 views

Runge Kutta fourth order [closed]

I´m trying to run a fourth order Runge Kutta in Mathematica but the thing is that I´m so so new in Mathematica that I am not even sure what I´m doing. I have these two coupled equations: $$\frac{dy}{...
0
votes
0answers
36 views

Correcting integration error by supplying assumptions

I wrote some auxiliary functions to help evaluate my main function ELC, which always return the error Unable to prove that integration limits {0, t} are real. ...
2
votes
0answers
41 views

Can custom “operator records” be defined and used in Wolfram System Modeler (and the WL)?

From an answer to a Modelica-related question on SO I learned about the possibility to overload operators in Modelica by using spezialized class operator record. Looking into the Modelica specs for ...
2
votes
1answer
30 views

AssociateTo with a variable as an argument produces error

The following code: list=Table[<\"number"->i|>,{i,1,100}]; list[[20]]["number"] list[[1]] AssociateTo[list[[1]],"number"->101]; list[[1]] Results in....
4
votes
1answer
101 views

Error in Mesh Region during concave hull

I have the following data: Data.csv It crates the following image: Im trying to make a concave hull so that I can create an outline of the region. I have tried to use all versions of the ...
3
votes
2answers
56 views

Nesting ParametricNDSolveValue

I have a problem nesting the function ParametricNDSolveValue. The documentation does not help so I hope to find some answers here. A minimalistic example for my problem is: ...
3
votes
2answers
109 views

Solving an 'odd' differential equation with NDSolve

I need to solve a differential equation of the type $\qquad \partial_{x_1}y(x_1,x_2)= y(x_1,x_1)\,y(x_1,x_2)$ with initial condition $\qquad y(0,x_2)=x_2$. Now if I try to solve this with NDSolve ...
3
votes
1answer
121 views

Why did Set work instead of SetDelayed?

I started with the following expression a[t_] := -Pi Sin(Pi/2*t) where initial velocity is 2 Pi and initial distance is 1. ...
4
votes
2answers
218 views

Implementing Gauss–Laguerre quadrature for double integral of oscillatory function

I need an efficient way to evaluate a certain double integral for a wide range of parameters: $$I=(\gamma_l \gamma_L )^{3/2} \int_0^\infty \int_0^{1} \frac{r ~d r ~dx}{\sqrt{r^2+b^2 x^2}} \times \\...
0
votes
0answers
50 views

CompiledFunction::cfexe: error without compiled function

I get the error: CompiledFunction::cfexe: Could not complete external evaluation; proceeding with uncompiled evaluation. but I am not using any compiled function in my code: how can it be ...
6
votes
1answer
208 views

Interpolation of data

Consider a set of data points ...
2
votes
0answers
48 views

Why do I get this warning when replacing pattern with list element? [closed]

The input x^2 + x^3 /. x^i_ -> i yields: 5 The input u = {1, 2, 3} x^2 + x^3 /. x^i_ -> u[[i]] still yields the ...
2
votes
2answers
130 views

“Forcing output of a function to be Real in Mathematica” Non-linear optimization

I am trying to solve a Nonlinear optimization problem with Mathematica. Since the maximization problem includes exponentiation with fractional power, the result generates the complex numbers that stop ...
0
votes
0answers
84 views

solving the game of fiver

Up to an error by myself, the following code is an implementation of the mixed integer linear programming of the game of Fiver : ...
0
votes
0answers
85 views

Numerical integration gives errors NIntegrate::slwcon: and Integrate::eincr:

I have a problem with numerical integration of this function: ...
0
votes
1answer
103 views

Non-linear optimization giving error NMaximize::nrnum [closed]

I am trying to solve the following non-linear optimization problem: Here is my code: ...
0
votes
2answers
68 views

Why do I get a Partition::pdep error?

I've been running an iterative job (j=1,2.,3,.....300,000,000). The vast majority of steps proceed smoothly. Every several million or so steps, I get a "General::inf: Input matrix contains an infinite ...
0
votes
0answers
46 views

Second order ODE systems should be equivalent to first order systems but DSolve gives error with second order

I'm trying to solve a physics problem using DSolve, and I've been getting varying degrees of success depending how I write down the equation. Here is what worked: ...