Questions tagged [warning-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10
votes
5answers
315 views

Overflow with NDSolve

Backslide introduced in 10.0, persisting through 12.1. I am trying to solve the following differential equation and plot the result: ...
0
votes
2answers
91 views

What does this error mean?

I am trying to solve a system of two Euler equations with a constraint. I do not know the initial conditions and I thought to use ParametricNDSolve to solve the ...
2
votes
2answers
56 views

Evaluation Control for interpolating functions

I would like to find the root of the third component of an interpolating function, here e.g. a BezierFunction p: ...
3
votes
1answer
82 views

How to terminate a Do Loop when encounter FindRoot::lstol warning

While finding the roots of a system of non-linear equations, I am encountering the warning "FindRoot::lstol: The line search decreased the step size to within tolerance specified by AccuracyGoal and ...
0
votes
0answers
62 views

NDSolve error for system of two non-linear equations

I'm trying to solve this system of non-linear ODE's $$\left\{y'(s) \left(x''(s) y'(s)-x'(s) y''(s)\right)=0,\mu x'(s) \left(x'(s) y''(s)-x''(s) y'(s)\right)=g \lambda \left(x'(s)^2+y'(s)^2\right)^{3/...
1
vote
0answers
32 views

Unexpected warnings issued by ListPointPlot3D when trying to make a plotting with labels (a potential bug)

I was making a very simple plotting with code below: ...
2
votes
2answers
329 views

Why does 'Transpose[list]' work but 'Map[Transpose[#]&, list]' not when attempting to transpose a 2D-array list? [closed]

I define this list: list={{100,100},{200,200}} Taking the transpose like this works as intended: Transpose[list] Taking ...
5
votes
0answers
185 views

There seem to be severe issues with Mathematica 12.1 running System Modeler models and with WSM 12.1 itself on Windows 10

I am using Wolfram Mathematica 12.1 and the Wolfram System Modeler 12.1 on a Windows 10 (64 Bit) notebook. Pretty much exactly since yesterday (2020-04-10), I am experiencing severe and previously ...
1
vote
2answers
60 views

Problem with finding this integral [closed]

l am trying to find this integral by Mathmatica, but there is some problem that Mathmatica does not give any answer, there is method to solve this integration ...
5
votes
2answers
264 views

How to Calculate Factorial when Overflow/Underflow occurs

I'm trying to compute this function, which sums to 1 for $0 < \alpha < 1$ and $k \rightarrow \infty$ ...
0
votes
0answers
118 views

How to solve these equations without errors?

I'm a new user of Mathematica 12. I have to plot real and imaginary solutions of two equations, eq1 and eq2, which contain the ...
1
vote
0answers
33 views

How is following two (same) calculations giving two different results? [closed]

I have the following two pieces of code which give me two different results, ...
1
vote
0answers
58 views

How to delete random elements with RandomChoice?

I have a list of prices and a list of dates, but I have 154 more prices than dates. So I want to delete random prices to match both lists, however, every time I run the block of code I get a different ...
2
votes
0answers
100 views

Why does this memoized function cause the kernel to quit? [closed]

The following memoized recursive function causes the kernel to beep and quit. ...
0
votes
0answers
36 views

Error in CDFDeploy

I'm deploying a Manipulate code to a CDF using CDFDeploy. Everything was going fine until now. All of a sudden, I'm getting the ...
0
votes
0answers
130 views

Unknown Box Name (ToBoxes) Error

I'm getting the following error in Mathematica What is going on? How do I avoid such an error? In order to roughly understand how I'm getting this error, here is a bit of context: I'm using ...
0
votes
0answers
32 views

FactorSquareFree::lrgexp: Exponent is out of bounds for function FactorSquareFree. Error

I'm trying to make a two-dimensional contour plot of the temperature of a plate. This is my initial function: ...
1
vote
1answer
42 views

Finding maximum of a function of 2 variables

I have function defined in such way: ...
7
votes
4answers
478 views

How to handle Part function error when position does not exist?

Say a list list={{1,2},{3,4}}, list[[1]] and list[[2]] works. But ...
0
votes
1answer
30 views

Avoid an Error Message when Importing

Consider the following code Button["Import", file = SystemDialogInput["FileOpen"]; data = Import[file], Method -> "Queued"] which yields a button which, ...
0
votes
0answers
40 views

How to avoid expressions of Zeros and how to reinsert results in a Module

Here i have just a short example of my actual problem ...
9
votes
2answers
248 views

FEM Mesh related errors

Bug introduced in 12.0. Fixed in 12.1.0. I try to solve the simple heat transfer equation but there are some errors at the stage of the pre-processing. ...
4
votes
1answer
199 views

DSolve: unable to solve the conditions

I have a second order differential equation with $2$ boundary conditions and want to use the following code to solve it: ...
7
votes
1answer
188 views

FEM: how to find 2D flow under external forcing?

I'm trying to sovle a 2D Navier-Stokes equation in a rectangular region with no-flow boundary conditions and an external rotating force $f(x,y)=(-y,x)$. I've got the error message: NDSolveValue::...
1
vote
1answer
51 views

NMaximize fails for linear program?

Consider the following code, maximizing the variable diff subject to some constraints. Notice that all constraints are linear (in)equalities -- the integrality constraints are commented out. (...
1
vote
0answers
60 views

Suppress ComplexInfinity/Indeterminate error

i am running a loop of calculations, where errors or results like ComplexInfinity and Indeterminate appear. My parameters are ...
2
votes
1answer
57 views

How to turn on all suppressed error messages

I have a variety of possible errors in each iteration of a for loop. If, in one iteration of the loop, there are more than 3 error messages of the same kind, I am happy that the rest are suppressed. ...
0
votes
1answer
35 views

Create error Message with runtime value

I've written a Mathematica package (see here) which uses WSTP to call a C/C++ library. Some possible user-errors are known by the package and can be detected and reported by the front-end package code....
3
votes
0answers
73 views

NMinimize: Constraints not valid, although additional constraints make it valid

The following code produces the error message "The following constraints are not valid". However, if I add the additional constraint "diam <= 3" (commented out below), it runs correctly and finds a ...
9
votes
2answers
765 views

Why does {2, 9, 3, 16, 81, 0.09} //. {x_Integer -> Sqrt[x]} evaluate infinite times? [closed]

Here is my code. {2, 9, 3, 16, 81, 0.09} //. {x_Integer -> Sqrt[x]} The pop-up message ReplaceRepeated::rrlim suggests ...
1
vote
1answer
44 views
2
votes
1answer
146 views

insufficient boundary condition error

I wish to solve the initial value kdv equation with a boundary condition that particles are fixed at the end points. Below is my code. ...
0
votes
0answers
22 views

ParametricNDSolve not accepting equation [duplicate]

I am trying to solve following differential equation $$\frac{d^2y}{dx^2}+(a+\frac{2}{\pi}b\hspace{3pt}\tan^{-1}x)\hspace{2pt}y=0$$ To solve it in mathematica I wrote the following code ...
2
votes
0answers
61 views

FindSequenceFunction instantly throws an exception

FindSequenceFunction[{2, 4, 6, 7, 14, 29, 18, 5, 5, 2, 4}] SystemException["MemoryAllocationFailure"] $Version "12.0.0 ...
2
votes
1answer
56 views

`MatrixFunction` is returning a cryptic error message about “the function `1`”

The "Possible Issues" section of the documentation for MatrixFunction lists several possible ways in which a call to ...
2
votes
2answers
223 views

How to use NIntegrate inside FindRoot?

I am trying to use FindRoot on functions that involve NIntegrate, and Mathematica is throwing undesirable errors even when it ...
1
vote
1answer
42 views

What does <<2>> mean in an output? Double Less than or greater than signs [closed]

An error in my output gives I am trying to understand what the issue is. I was wondering if this <<2>> has anything to do with it, because I don't know what that syntax means. Is <<2>> ...
0
votes
0answers
96 views

Elastic Collision Animation

So I am trying to animate an elastic collision, but I have a problem with the ruler when using Manipulatefunction: ...
2
votes
2answers
451 views

How to solve a system of transcendental functions?

Having difficulty solving the following instructions: Solve the system of simultaneous transcendental equations (e^x+ ln(y) = 2 ; sin(x) + cos(y) = 1). Hint: Look for a solution pair (x,y) that meets ...
3
votes
1answer
128 views

Epilog error in new version

I am able to run the following code in earlier versions and get what I want but version 12 gives an error message stating that Coordinates should be a pair of numbers, or a Scaled or Offset form. <...
7
votes
0answers
210 views

What does “Solved to an acceptable level” mean in the context of NonlinearModelFit in M12

I made a simple cosine fit to some data: ...
2
votes
2answers
76 views

Using Reduce to solve trig equations. Error: unable to decide whether numeric quantity .. is zero

I'm trying to find solutions to a fairly simple pair of simultaneous equations in variables $\phi_1, \phi_2$ using Reduce. ...
0
votes
2answers
127 views

Assign FindRoot output vector to a vector instead of element by element

Using FindRoot to solve a multivariate equation system, assigning the output to variables one by one works, but assigning the output vector to a vector gives the ...
0
votes
1answer
190 views

I have just begun to use mathematica and was hoping someone could help me understand these error codes

" I have an assignment where I am required to use bisection or false position method depending on various inputs and I think I have a reasonable code that should work but I am not sure why I keep ...
1
vote
0answers
69 views

How to iterate a function

I have written a custom function called f1[r_] and I have tried iterating this function using Table. I work nicely for the first ...
0
votes
1answer
194 views

How do I restrict the domain over which an equation is solved? [closed]

I tried to use the Solve function to find all solutions to $\sin x = \cos(2x)$ in the interval [0, 2π). I evaluated ...
3
votes
0answers
47 views

Mathematica file corrupted with the syntax error “Spacer[{0., 0.}], Selectable -> False”

My Mathematica file is corrupted. The error says There was a syntax error on line 34457 in the file: xxx.nb. The error was:Spacer[{0., 0.}], Selectable -> False ...
0
votes
1answer
49 views

Understanding and solving a problem with FindFit

I have a set of data which I give here ...
6
votes
2answers
172 views

Plotting a list of “Numerical” functions

In expressions like Plot[Through@{# &, #^2 &}@x, {x, -1, 1}] Plot effectively interprets the first argument as a ...

1 2 3
4
5
24