Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

1
vote
1answer
33 views

Increasing the time constraint on EulerEquations

How can I set the Infinity time constraint in EulerEquations? Actually, there is an error I don't have any idea about. Can you ...
0
votes
0answers
22 views

Unable to replicate Predict/NeuralNetwork example from Help Pages

I am trying to replicate an example right out of the help manual (ref/method/NeuralNetwork). This example compares the convolutional NN versus a fully-connected NN....
0
votes
0answers
31 views

DSolve not giving a solution

I tried solving this but no result, I tried eliminating the initial condition, replace the zeroes in boundary condition but nothing is working. Thank you in advance
0
votes
1answer
50 views

Evaluation of an Error function

How to evaluate df function in the following code sample? ...
1
vote
1answer
49 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
49 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
38 views

Root mean square between data and function

I'm trying to find out RMS between data and function. ...
0
votes
0answers
42 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 ...
1
vote
1answer
38 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
122 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
108 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
45 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
96 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
43 views

How to handle exceptions and failures in Mathematica?

In python I can write fallback values like: ...
1
vote
1answer
61 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
310 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 ...
-1
votes
0answers
28 views

Warning: Reduce was unable to prove that the solution set found is complete

I am trying to solve the below equation, but there is a warning " Warning: Reduce was unable to prove that the solution set found is complete" . Could somebody please introduce a method for ...
0
votes
1answer
93 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 𝑡...
0
votes
0answers
88 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
30 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
55 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
86 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
66 views

NDSolve::bvdae error when using NDSolve

I am trying to solve this complex problem. ...
2
votes
0answers
58 views
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
49 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
73 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
41 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
31 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
70 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
34 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
168 views

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

I looked through the forum but none of what I've found is helping. ...
2
votes
1answer
92 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
66 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
101 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
63 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
37 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
113 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
96 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
53 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
19 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
44 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
28 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
60 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
56 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]]? ...