Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

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

Create a Miura origami pattern?

I want to solve the below code to create an origami pattern ...
1
vote
1answer
47 views

Strange Startup Error Messages

Seemingly out of nowhere when I open Mathematica a messages window pops up with these two warnings. This issue starting occurring after no changes where made. ...
4
votes
1answer
43 views

Evaluate calls my function multiple times when the function generates an error

If I execute a line of code with Evaluate I find some unexpected behavior when the code returns an error. Here is a minimal example. Let ...
0
votes
1answer
63 views

NDSolve::ndsv: Cannot find starting value for the variable w

I cannot find theNDSolve::ndsv error in this code ...
4
votes
0answers
55 views

Double summation giving unexpected result

The expression (in a notebook with Wolfram Mathematica 12.0.0) Sum[s[i, j] - s[j, i], {j, b}, {i, b}] Produces the result 1/2 b EulerPhi[b] Can anyone ...
0
votes
0answers
103 views

Solving a list of ordinary differential equations with boundary conditions [closed]

This is my attempt, to solve a system of ODEs. I want to plot the relation between (η, f'), (η, g) and (η, zeta) ...
6
votes
2answers
256 views

Mathematica 10.2 break downs when `StreamPlot`-ing

Bug introduced in 9.0.0 and fixed in 12.0 or earlier This code meets error: ...
6
votes
2answers
383 views

Is it possible to Clear (recover memory from) a specific index to a variable, while leaving other indices to the same variable untouched?

Consider the following method commonly used to clear a typical variable: ...
3
votes
2answers
51 views

“Automatic is not a valid StreamPoints specification”

If I run StreamPlot[{a, b}, {a, 0, 10}, {b, 0, a}] the kernel hangs, and I have to restart it. I also get the error message StreamPlot::strmpts: Automatic is ...
-2
votes
0answers
57 views

SMSCorrect internal: Incorrect structure-2

Does anyone know what does the error: SMSCorrect internal: Incorrect structure-2. refer to? I mean, in general. Specifically, I get it from the following code. ...
3
votes
1answer
410 views

General::ivar 0 is not a valid variable when using Series in Plot

I have been having some trouble graphing a Taylor series approximation (Series). ...
2
votes
3answers
85 views
1
vote
1answer
56 views

How to fix slow covergence and highly oscillatory integrand issues?

I'm trying to numerically solve an integral in a specific region and then to visualize it as follows. ...
2
votes
0answers
42 views

Error in PDE: Length of Derivative operator

I am trying to solve Poisson's equation in a cylinder with Dirichlet boundary conditions for the top, bottom, and sides of the cylinder, but I am getting the following error from NDSolve: ...
4
votes
4answers
109 views

Find maximum according to a parameter

I am new to Mathematica. I want to find the maximum of the functions: ...
0
votes
1answer
24 views

Error Code 414 while trying to do a substitution

I was trying to see what would happen if I let d=q in the following equation: ...
3
votes
0answers
76 views

How to use an interpolating function as an intial condition for a PDE? [closed]

I want to be able to approximate a PDE, but my eigenfunction is an Interpolating function. Is there a way I can use an interpolating function as an initial condition in the PDE. For Example: ...
1
vote
2answers
80 views

Getting error General::munfl from NonlinearModelFit [duplicate]

I am trying to fit data to a sum of Gaussians. This data is found in a file called lpeff.txt. So I write the following code: ...
1
vote
1answer
17 views

RecursionLimit errors on Manipulate a DensityPlot expression

I am trying to do an interactive visualization of a very simple neural network (inspired by tensorflow playground): ...
3
votes
1answer
66 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
59 views

Transpose Error

I have this code: ...
0
votes
0answers
33 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
75 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: ...
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 ...
0
votes
1answer
62 views

How do I use Module to convert a calculation into a function? [closed]

I have some code that performs a calculation. I want to make a function out of it so I wont have to cut and paste to calculations with different values of a, ...
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
73 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 ...
0
votes
1answer
112 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
57 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 <...
1
vote
1answer
57 views

Finding a fit with a specific mean squared error

I have a fit a data set to the following equation ...
0
votes
1answer
42 views

Inexact coefficient message showing up without any inexact coefficients [closed]

I have seen this message (...
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
2answers
66 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
63 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
98 views

Problem with my user name

I'm trying to use the new website ("Wolfram Function Repository") and i get the following error: ...
0
votes
1answer
64 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: ...
4
votes
1answer
81 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
75 views
2
votes
1answer
97 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,...
0
votes
1answer
48 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 ...
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
0answers
44 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 ...
1
vote
1answer
108 views
1
vote
2answers
97 views

Surprising error message from NIntegrate

I have the following integral: ...
4
votes
3answers
111 views

Why NIntegrate does not give correct answer for smaller values of input

(In the following code NIntegration does not give correct result when input falls below 0.9.) ...
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 ...
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,...