Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

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

Evaluation of an Error function

How to evaluate df function in the following code sample? ...
1
vote
1answer
62 views

Stiffness and NDSolve error NDSolve::ndsz:

I have a 2nd Order ODE problem I am trying to solve numerically in Wolfram: $$ (k^2-1+\frac{2x}{x^2+c^2})\frac{d^2y}{dx^2}+\frac{c^2-x^2}{c^2+x^2}\frac{dy}{dx}+x\frac{x^2-3c^2}{(x^2+c^2)^3}y=0 $$ ...
0
votes
0answers
55 views

How to solve “Coordinate should be a triple of numbers”?

Something seems different with duplicated question "How to solve this error? “should be a triple of numbers or a Scaled form.” ", MMA tips may tell that Abs do not ...
0
votes
0answers
43 views

Root mean square between data and function

I'm trying to find out RMS between data and function. ...
5
votes
0answers
128 views

NetTrain on a UNet with a NVidia Quadro P5200 GPU

I am trying to train a UNet on my laptop (Lenovo P72) and I obtain the following error when I use NetTrain on it: CompiledFunction::cfta: Argument {Mean[LibraryFunctionError[LIBRARY_FUNCTION_ERROR,...
0
votes
0answers
43 views

Different integration results when TrigToExp used

I am trying to do a double integral over a domain $x \in (\theta_1,\theta_2), y \in (0,\theta_1)$. Instead of doing a definite integral I am doing an indefinite integral and taking limits. All that is ...
2
votes
2answers
76 views

How to check for underflow, and find a constant to correct it?

In a programme I'm running, at a certain point there's a multipplication of variables that gives underflow... For example $c=c_1\times c_2$. Is there anyway to check if that multiplication gives ...
3
votes
0answers
154 views

Bug in the classification optimization algorithm for large data sets

I believe that I encountered a bug in Mathematica 12. The Classify[] function throws errors when simultaneously: The training set has significantly above $10^5$ ...
0
votes
2answers
116 views

Mathematica puts function with certain constants on hold, why? [closed]

Here, I probably have a trivial case on how to use functions in Mathematica but I can't figure it out with the help of the Mathematica pages. I define the following function: ...
0
votes
1answer
53 views

Finding the area of Gaussian 90% error ellipses

I'm trying to find the area of 90% Gaussian error ellipses, which should be easy because there is a direct method to find the length of the semi-major and semi-minor axes, found from multiple ...
0
votes
1answer
100 views

Numerical integration giving trouble

I am trying to do the following integral numerically, $$\rho(\theta_{j},\phi_{j})=\int\frac{\sin{\theta_{i}} d\theta_{i} d\phi_{i}}{\sqrt{2+2[\cos(\theta_{i})\cos(\theta_{j})+\sin{\theta_{i}\sin{\...
0
votes
0answers
27 views

Error during integration: Tag Times (variable of integration) is protected. How to solve it?

I am trying to integrate and plot the following function: Y[T_?NumericQ,n_?NumericQ]:=NIntegrate[BesselK[1,mB1/t]*(mB1/t)^(3+n/2),{mB1/t,0,mB1/T}] ...
0
votes
0answers
50 views

How to handle exceptions and failures in Mathematica?

In python I can write fallback values like: ...
1
vote
1answer
82 views

NDSolve ERROR: There are more dependent variables, than equations, so the system is underdetermined

I have a question concerning NDSolve and a system of differential equations. I have 4 variables and 4 equations. Why do I get this ERROR :There are more dependent variables, {f[j,p],U[j,p],(f^(0,1))[...
4
votes
2answers
433 views

`FindRoot [ ]`::jsing: Encountered a singular Jacobian at a point…WHY

I have a large system of linear and nonlinear equations. I know that the system is not singular at the point given because I calculated the Jacobian and evaluated it at a given point. The resulting ...
0
votes
1answer
102 views

Numerically solve delay ODE

I am trying to numerically solve a simple delay ODE in mma for the first time. I think this is likely a simple fix. I first tried to solve system as ordinary differential equation system for up to 𝑡...
1
vote
0answers
262 views

The “ too small to represent as a normalized machine number” error message

In a simulation, I got the following error message: Exp[-709.859] is too small to represent as a normalized machine number; precision may be lost. The ...
0
votes
0answers
42 views

What's LinkObject error about, and what may have caused it?

I've been running a simulation on a server, using parallezation, suddenly I got this error message: ...
0
votes
0answers
89 views

NDSolve::ndsz: At t == -96804.6, step size is effectively zero; singularity or stiff system suspected

I am trying to solve these equations but couldn't figure out how to solve the NDSolve::ndsz error. ...
3
votes
1answer
95 views

NetPortGradient returns “floating-point overflow” for this simple network

Consider this simple network that computes the following function: $$ \left\{ \begin{matrix} xy & \mbox{if} \;x,y>0 \\ 0 & \mbox{otherwise} \end{matrix} \right.$$ The net looks like: <...
0
votes
0answers
96 views

NDSolve::bvdae error when using NDSolve

I am trying to solve this complex problem. ...
2
votes
0answers
64 views

Solving a PDE solved by the method of lines giving a warning about bad local spatial error estimate

I use the method of lines to solve the PDE ...
0
votes
0answers
28 views

Why is an integration error appearing during this code?

I'm really confused about this to be honest. If i evaluate approx[x,k] for some k, and then input the list into the Plot function, I get a plot. But if I try to use approx[x,k] directly, I get an ...
0
votes
0answers
21 views
2
votes
1answer
62 views

Plot shows up as blank output line

Let me start by saying this is NOT one of a thousand duplicates of the function not showing up on the plot. Mathematica has been working fine for the last 2 years, and then all of a sudden, ...
2
votes
1answer
78 views

My version of PowerMod breaks down around 10^308

I have been trying to write a function that duplicates PowerMod[a, b, n], computing a^b mod n...
2
votes
1answer
43 views

Typing Control-6 makes text cell disappear

This morning, I opened a document I worked on last week, and all the lines of text that had Control-9 functions in them where the function involved a power written by typing Control-6 were completely ...
0
votes
2answers
33 views

My function for computing a partial derivative generates an error message [closed]

Apologies, I'm still new at Mathematica. I have defined the function ...
2
votes
1answer
72 views

Specifying $0^+$ as the lower bound of an integral [closed]

Consider the following evaluation. Integrate[1/Sqrt[x], {x, 0, 1}] (* 2 *) The integral is right only if the first extreme of integration is $0^+$. I want to ...
0
votes
1answer
35 views

Why am I getting errors from NMaximize? [closed]

I tried to use the function that is given in 1 in order to get the FWHM of some expression I got from solving a system of linear equations. This is the function for calculating FWHM: ...
3
votes
2answers
255 views

“Graphics is not a Graphics primitive or directive.”? [duplicate]

I looked through the forum but none of what I've found is helping. ...
3
votes
1answer
106 views

Installing R for use with V11.3 on Windows 10

I can't install R on Windows 10. I tried some solutions that I found on the Internet, but they did not help. ...
1
vote
2answers
70 views

Eigenvalues error: “The method ”Banded“ accepts only sparse matrices with elements that are machine-real or machine-complex numbers”

I'm having one issue with the Eigenvalues function in some code priorly discussed here. There the example is tridiagonal, but here, let us consider this simple ...
3
votes
0answers
134 views

How can I do a faster integration?

I have this part of my code, which takes forever to run. Does anybody know how to make it faster? Using NIntegrate I face error: "NIntegrate::eincr: The global error of the strategy GlobalAdaptive ...
1
vote
1answer
69 views

Finite element mesh generation with specified coordinates [closed]

I am trying to use Mathematica's FEM capabilities, but I want to generate my own QuadElement mesh. (The key word in here is trying.) ...
1
vote
0answers
42 views

Confusing errors using predict to map between matrices

I'm messing around with the new features involving machine learning in Mathematica 11, and one easy thing to try is to make a machine learn the matrix exponential function. The first silly idea I had ...
2
votes
1answer
117 views

Want to remove unnecessary message

Manipulate[ ParametricPlot[{t, t}, {t, 0, s}], {s, 0, 1, 0.1}] This code is working in Mathematica, but generates messages (...
0
votes
2answers
137 views

What's wrong with this cross product of two vectors? [closed]

x = {{a},{b},{c}}; y = {{d},{e},{f}}; Cross[x,y] Whe trying to evaluate this expression, I get the error ...
0
votes
0answers
54 views

double Integral in complex number field

The following expression is an expansion of Hypergeometric2F1 function from the above expression with the help of 9.113(in 'Table Of Integrals, Series And Products'). but I got different results.WHY? ...
2
votes
0answers
20 views

How would I obtain error information on a $Failed GeoElevationData?

The following code returns an error: GeoElevationData: with no description of the error. I think this error may be because I am asking for elevation data that is ...
1
vote
2answers
36 views

How can I get LanguagesFractions data in different years?

I want to do that. But it failed. May I change my code? Or Where can I get these data?
0
votes
1answer
49 views

RegionPlot evaluating NIntegrate before assigning variable values and resulting in non-numerical integrands [duplicate]

I am trying to find the regions where the integral of a function a function is larger than a certain quantity using RegionPlot. For simplicity's sake, let's say the intergal I am looking to plot is is ...
0
votes
0answers
30 views

Using ErrorBars with ListLogPlot in Mathematica 11 [duplicate]

I am trying to insert error bars in a plot with a log scaled y-axis with ...
0
votes
0answers
69 views

Non-autonomous ODE use NDSolve, error: Step Size is effectively zero; singularity or stiff system is suspected

I have seen this error NDSolve::ndsz many times when I use NDSolve to get the solution of a non-autonomous ODE. I try but all ...
0
votes
0answers
59 views

Create Compiled Function - Matrix Initialization

I am attempting to compile the following function: But I receive the following error messages: How should I initialize the matrix Vw to enable the assignment to Vw[[1,1]]? ...
5
votes
3answers
167 views

Why are the options given for IconData causing errors when used?

Reported to Wolfram Technical Support [CASE:4212712] Using Options on IconData reveals: ...
-1
votes
1answer
58 views

Protected tag error using NDsolve [closed]

I have been successful at solving the PDE when I have specified the $r$ I am using, but now when I try and allow $r$ to be a variable and input its value in a function I am getting all sorts of errors ...
1
vote
3answers
118 views

Numerical integration converging too slowly. how to over come this

I have a function U1 which contains a linear combination of trigonometric function, I wanted to Numerically integrate this function U1. Since each trigonometric functions associated with some unknown ...