Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

Filter by
Sorted by
Tagged with
-1
votes
0answers
52 views

Mathematica quits kernel when trying to evaluate the integral [on hold]

I have some numerical integral over some function. What (in general) can force Mathematica to quit kernel when trying to evaluate the integral?
4
votes
4answers
96 views

Find maximum according to a parameter

I am new to Mathematica. I want to find the maximum of the functions: ...
1
vote
1answer
57 views

Transpose Error

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

Is it possible to turn off all messages for a specific mathematica file?

I have a general question. I have a big Mathematica file, which sometimes comes with some messages. Is it possible to turn off all messages forever in this notebook/file? BR Mads
1
vote
1answer
63 views

Getting a warning that a number is too small to be represented as a normalized machine number [closed]

I have the following summations: The code: ...
0
votes
1answer
55 views

How does one use NSum within NIntegrate properly?

If I use symbolic integration for the following: Sum[Integrate[i + x, {x, 1, 7}], {i, 1, 7}] 336 as one can see it gives the answer as it seems to '...
0
votes
1answer
110 views

Table and FindRoot of a two-variable interpolated function

I am having difficulty solving for the roots of the following interpolating function: ...
0
votes
1answer
48 views

Why do I get error messages when I try to plot this function?

Question: Why do I get error messages such as "LessEqual::nord: Invalid comparison with 1. -1.59148 I attempted." when I try to plot the function f[z,k] defined below with for example the Plot ...
0
votes
1answer
55 views

Table and FindRoot of a 2 variable function of x and t : cos(x + 3t)

I am trying implement mathematica commands: Table and FindRoot, of a 2 variable function <...
0
votes
1answer
70 views

Getting errors from ParametricNDSolveValue

I am a newcomer to Mathematica (use ver 9.0). I just want to fit the experimental data to a system of odes' by using NonlinearModelFit. The data, contains time in the first column and product ...
3
votes
1answer
60 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. ...
1
vote
1answer
52 views

Finding a fit with a specific mean squared error

I have a fit a data set to the following equation ...
0
votes
1answer
41 views
0
votes
2answers
63 views

Apparent contradiction in double summation

I have two expressions which, if my maths is correct, should both be true. But Mathematica doesn't agree. I can take the expression E^(-n^3) out of the single ...
1
vote
2answers
62 views

Incorrect results from simple `Plot`?

I came across this bizarre behaviour whilst noodling around - a change in 'Plot' results... ...
0
votes
0answers
37 views

Piecewise function to include SawtoothWave function

I am trying to write a Piecewise function that includes the SawtoothWave function. Can someone indicate how to do this, or if it is possible within mathematica? The piecewise code is here: ...
6
votes
0answers
96 views

Problem with my user name

I'm trying to use the new website ("Wolfram Function Repository") and i get the following error: ...
1
vote
2answers
102 views

Error messages for FindRoot and NIntegrate

I want to solve the following problem. First, the setup. A function $V(\varphi)$ defined as \begin{multline} V(\varphi)=\frac{\alpha-3}{4}e^{\sqrt{2\alpha}\varphi}+\frac{\alpha-5} {\gamma}e^{(\...
0
votes
1answer
62 views

Interpolation function error: The quality of the underlying mesh is too low

Consider a dataset BplustoPiXlight.dat (alternative link). I import it and try to interpolate: ...
0
votes
0answers
29 views

Plotting with RegionFunction without explicit function variables

Before updating Mathematica license to version 12, I was able to exclude regions of plots (in Plot, Plot3D, ...
2
votes
1answer
83 views

Problem with NDSolve: Maximum number of steps reached

I am using NDSolve to solving a first order autonomous system of ODEs $\dot x(t) = f(x(t))$, $x\in\mathbb R^n$ numerically for a set of initial conditions $x(0)=a,b,...
2
votes
0answers
38 views

What could cause an “Uncaught Throw[$Failed,CURLLink`Utilities`Exception] returned to top level.” error message?

I am running a program in Mathematica that uses web browser automation, and is also connected to my email account. The program runs fine for a while, but after a few hours, I end up getting the ...
0
votes
1answer
74 views
1
vote
1answer
107 views

Unable to compute the measure of a region in four dimensions

I need to be able to calculate an integral with this implicit region: ...
0
votes
1answer
46 views

Complex infinity at a point and division by zero

Edit: I've found out that the book was written for Mathematica 7, which was a pretty long time ago. It boils down to changes in syntax most probably, but simple renaming to lower lettercase does not ...
1
vote
2answers
94 views

Surprising error message from NIntegrate

I have the following integral: ...
1
vote
0answers
20 views

Unable to turn off error messages using Parallelize

I am running 11.1 and would like to run NIntegrate and turn off the error message NIntegrate::ncvb but when I run the integrations in parallel, they are not being turned off. For example, consider ...
4
votes
1answer
79 views

Why does SystemModelSimulate not simulate a model when parameters and inputs are changed within a single association?

A support case with the identification [CASE:4265480] was created. I am a bit confused about the following behavior in Mathematica 12.0 (Windows 64) simulating a very simple Modelica model using <...
0
votes
1answer
47 views

Delayed differential equation with convolution

So I have a differential equation : $\left\{\begin{split} & c'(t) = \alpha q(t) c(t)^{2/3} - \beta(1 - q(t))c(t)\\ &\chi'(t) = \kappa c(t) q(t) \\ & q(t) = \int_{-\infty}^t \Big( ...
1
vote
0answers
41 views

Getting wolframscript to print out error messages?

While running a .wls file from the command line using wolframscript, is there a way to get the error messages printed to the command line?
1
vote
1answer
53 views

Increasing the time constraint on EulerEquations [closed]

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
27 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
32 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
54 views

Evaluation of an Error function

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

Root mean square between data and function

I'm trying to find out RMS between data and function. ...
5
votes
0answers
125 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
71 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
153 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
115 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
51 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
99 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
46 views

How to handle exceptions and failures in Mathematica?

In python I can write fallback values like: ...
1
vote
1answer
79 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
400 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
97 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 𝑡...