# Questions tagged [warning-messages]

The tag has no usage guidance.

1,130 questions
Filter by
Sorted by
Tagged with
31 views

29 views

### Getting error “cannot be used as a function” when trying to solve two differential equations with NDSolve [closed]

I have a differential equation with functions gt[m], la[m]. I solve them over the domain ...
14 views

### All formatting lost from a working notebook

I had a working notebook with title and normal cells. I opened and all cells were merged to a normal (InputformDisplay type) cell, all titles and text cells are lost, that is, they became the same ...
41 views

### Need help with NestList [closed]

NestList::intnm: Non-negative machine-sized integer expected at position 3 in NestList[#1 + t&, 0, 8.]. What does the above error mean and how can I refer to result of ...
55 views

### Why DSolve cannot Find a General Solution for this ODE?

The Problem Given a mass m=1 moves in potential V(x)=|x|^3; and x(0)=1,x'(0)=0; So I set up ...
40 views

### SystemException[“MemoryAllocationFailure”] in Integrate

Integrating products and ratios of piecewise linear functions throws the error ...
46 views

### DSolve implicit function of time

Apologies for the basic question. I am trying to solve this differential equation for $w(t)$ as a function of $q(t)$: $$\frac{dw(t)}{dt} = \mu_v \frac{R_{on}}{\delta} \frac{dq(t)}{dt}.$$ Solving ...
32 views

### Error message when referring to the value of a part of one element in a list [closed]

The following works fine to define an element of a two-argument list: T[1, 2] = {3, 4, "yes"} But when I try to change the third part, like this ...
30 views

### Manipulate giving errors when I plot the product of a step function and a continuous function

Riemann's prime counting function J (link) takes half-values at every jump-discontinuity. So, I define it thus: ...
57 views

...
30 views

### Getting message Solve::itdim

When I use Indexed and solve an equation, I get the error message: Solve::itdim The dimensionality of variable p is not well specified My code is: ...
50 views

### Problem with stopping NDSolve after a condition is met

I'm trying to write a piece of Mathematica code that is essentially a differential equation solver that needs to take a specified function $V[t,q]$, and then numerically solves the differential ...
134 views

### Error message: “-1.99992 cannot be used as a variable” [closed]

could anyone please tell me how to fix this: I want to plot the solutions of a coupled ODE: \$\frac{1}{3} u\partial_x ^3 u = \frac{1}{2} \partial_x v; \ \partial_x\left( u \partial_x v - \frac{1}{2} u^...
49 views

### Integral involving orthogonal functions (quantum harmonic oscillator eigenstates)

I have a question about the capabilities of the Integrate command for general parameters. We know that there is a system of functions: ...
41 views

### Serious Startup Error: Error code 603. What to do?

So my laptop shut down due to lack of battery with some open Mathematica notebooks that were saved but now Mathematica wont launch at all and I cannot find anywhere information about this error code. ...
57 views

### Why is this integral throwing a “MemoryAllocationFailure” error?

The following call to NIntegrate throws the error: Throw::sysexc: Uncaught SystemException returned to top level. Can be caught with Catch[[Ellipsis], ...
71 views

### How to know, which constraint is being violated in linear programming problem?

my task is to minimize costs of dispatching various power plants in order to meet demand in a transmission grid. I solve the task as a linear programming problem with the help of Minimize[] function ...
41 views

### How to fix a ParametricNDSolveValue? - Encountered non-numerical value for a derivative at t == 0

How to fix a ParametricNDSolveValue? - "ParametricNDSolveValue::ndnum: Encountered non-numerical value for a derivative at t == 0." I have tried ...
24 views

### FindRoot does not satisfy PrecisionGoal but gives no error message

I use FindRoot to find a root to the equation ...
61 views

### Syntax error using Plot

Why is the error coming and what should I do to resolve it The code is ...
122 views

### Can't be solved using methods available

I'm stuck on this and chagrined I'm even asking, but this: ...
144 views

### Finding the number of even numbers in Pascal's triangle (code gives memory error)

I have the following code: ...
51 views

### InitializeBoundaryConditions::fembdnl: The dependent variable in the boundary condition needs to be linear [duplicate]

Checking the documentation on the error were of not that much help to me. Can someone please suggest how to deal with it? ...
38 views

### When does NDSolve issue zero step size error NDSolve::ndsz?

I want to detect directly when step size becomes "effectively" zero. The below example from the documentation throws the error message as expected: ...
31 views

### avoid using protected variable names in defining static pure functions

I will provide one example to show what the problem is. Collatz[m_] := Collatz[m] = 1 + If[EvenQ[m], Collatz[m/2], Collatz[3 m + 1]]; Collatz := 0; this ...
53 views

### DSolve for System of Non-Homogeneous Differential Equation

Solve: x' = Ax + b Given: A = {{1, 2}, {3, 4}}; b = {{e^{t}},{2}}; This will solve if b == 0 DSolve[{x1'[t], x2'[t]} == a.{x1[t], x2[t]}, {x1[t], x2[t]}, t] But if ...
34 views

### Error when using Manipulate[Plot]

I'm trying to create a plot that varies from m = 0.1 to m = 1 but when I use Manipulate, I can't get anything to show up and I get approximately 50 quintillion errors. I think it has something to do ...
45 views

### the number of equation does not match the number of variables

Excuse me , can you help me , please ? When i make run for this programme it give me a wrong that the number of equations does not match the number of variables ,,,, I try a lot on finding the wrong ...
48 views

### Errors with assigment and no errors with replacement rule, why? [closed]

So I have an expression, let's call it f11 which is a function of t of this form f11= a1*t^(-4)+ a3*t^(-3)+... and so on up until a finite positive power of t. In ...
57 views

### Getting error when I substitute PDE for ODE

The following code works perfectly: ...
86 views

### NDSolve: how the initial step of finding explicit derivatives can be avoided?

There are several posts here devoted to resolving the following error message of NDSolve (NDSolve::ntdvdae, ...
32 views

I have some complicated function that depends on a few parameters that I need to integrate. It is integrated in the fastest way by using "AdaptiveMonteCarlo" method. However, I have found ...
32 views

### BarChart does not display asymmetric error bars correctly

BarChart seems to read the uncertainty in elements the other way around. The object: Around[5, {1, 10}] is evaluated as . However, when you use it in a BarChart, the uncertainties are swapped: ...
89 views

### Maximize: x in Vectors[5, R] is not a valid variable

I am learning how to do optimization with a variable number of variables in Mathematica. I tried to write one experiment that I need to do but I have failed to get even a stripped-down version working....
42 views

### Part::partw: error in Custom Spline Algorithm

I am attending a Calculus course where we use Wolfram as a supporting tool, and I was trying the algorithm provided for Spline interpolation and I get the error in the picture: ...
48 views

### Looking for an explanation of unusual behavior in Divisors[] function

I have defined the function that counts the number of square divisors of input integer x. The function is ...
24 views

### Problem with Help (i.e. ?Log, ?Plus, etc.)

I am running Mma Home Edition, on Mac OS X Version 10.10.5 (MacBook Air). I restarted my system and now "?" does not work! Here is some sample output: ?Log (I entered this, and got the ...
68 views

### Coupled PDE with nonlinear coefficients: Changing step size to fix large errors?

After help from user @xzczd I was successful in getting Mathematica to numerically solve my PDE (as you can see in this question). When I give realistic parameters for my differential equation, I see ...
45 views

### Is there a way to customize how many of the same warning messages are printed?

I have an evaluation inside a Paralleltable which sometimes gives me warning messages. After a certain amount of warning messages it will say: ...
83 views

...
256 views

### DSolve can't solve DSolve[f'[x] == InverseFunction[f][x], f[x], x]

Here is the code I tried. DSolve[f'[x] == InverseFunction[f][x], f[x], x] The pop-up message is DSolve::dvnoarg: The function f appears with no arguments. But I ...
45 views

### Fixed Step Size in NDSolve

I'm trying to solve this system with a fixed step size of 0.1, ...
68 views

### How to make Mathematica only output the error name, rather than the full error message?

For example, when I use LinearSolve, an error message might be encountered: ...
84 views

### Error in Monte Carlo simulation. Now Random walk (dotted curve) doesn't fit to the analytical curve (dashed curve)

I've been trying to code a kinetic monte carlo simulation for a system of consecutive chemical reactions using a fixed (repaired) code that the user flinty gives me in the last questions I post: ...
85 views

### NDSolve Inconsistent equation dimensions

I am getting an error while trying to solve for a differential equation. It is saying "NDSolveValue::femper: PDE parsing error... Inconsistant equation dimensions." I was wondering if anyone ...
35 views

### How to stop NIntegrate from throwing slwcon error on integrals with Heaviside theta/step functions?

The following code throws two errors (slwcon and eincr): NIntegrate[y x^2 HeavisideTheta[5 - x - y], {x, 0, 10}, {y, 0, 10}]. Is there are "good" way to ...
58 views

### WolframKernelException: Failed to communicate with kernel

I am an absolute beginner of Mathematica!! .. I have downloaded, installed and activated the wolfram engine (12.1) on Windows. I have installed the WolframClient and kernal location is in kernelLoc = '...
21 views

### Getting MatrixPropertyDistribution::sclrvctr: error from documentation example

I'm new to StackExchange, but I am having a strange error using just downloaded Mathematica 12.1.1.0 (Student version). I'm trying to use the MatrixPropertyDistribution function, but Mathematica gives ...