Questions seeking help understanding error messages and fixing errors.

learn more… | top users | synonyms (2)

1
vote
1answer
176 views

My code uses `ClebschGordan` but `Mathematica` is using `ThreeJSymbol`

I'm using a function that calculate CG coefficients with the function ClebschGordan but instead, I've got the following error because Mathematica is using ...
0
votes
1answer
99 views

Solving Partial Differential Equations using NDSolve

I'm trying to solve the following partial differential equation: With the boundary conditions: I could use another way to resolve this, like the finite volume method, but after I solve the ...
0
votes
0answers
103 views
0
votes
0answers
35 views

How to parallelize a sequential program? [on hold]

I asked this question and I got good answers, but now when I try to make the computing in parallel with this command ...
0
votes
1answer
34 views

CUDATranspose bad result

A fairly simple experiment, I am trasponsing an identitiy (3x3) matrix, and I got a weird result. I tried also CUDADot and works as expected. The code I used: ...
0
votes
2answers
38 views

Convergence Problem in NIntegrate

I need to evaluate the following integral numerically for different values of a: ...
5
votes
1answer
38 views

Strange problem with Derivative and BoxForm`MakeDerivativeBoxes

All of the following three lines should produce the same output, but the third variant produces an error on output. ...
2
votes
0answers
28 views

Protected Variable Error with Workbench 3.0

I have Wolfram Workbench 3.0, build 78, with Mathematica 10.4 as the front end. I am using Windows 10. I am trying to run a simple test source code test.m: ...
5
votes
1answer
197 views

Is there an alternate way to calculate beyond the memory limit of the home edition?

I bought the Home Edition of Mathematica online 0.5 G of memory and costs \$150 per year. When I calculated the median of outputs from $[0,1]$ with an interval of $.000001$ I ended up with the ...
0
votes
2answers
49 views

Part::pspec error occured

I wanted to simulate a noise model on CCD sensors, so I did as below: ...
0
votes
1answer
63 views

Error message when running NDSolveValue

I am trying to solve a set of differential equations but keep getting an error. See message below "NDSolveValue::ndnum: Encountered non-numerical value for a derivative at t=0" The system that I ...
2
votes
0answers
79 views

ListPolarPlot goes crazy when PolarAxes->True

Bug introduced in 9.0 and fixed in 9.0.1 I think I am experiencing the same/similar problems as this user. Mathematica Version: 9.0 for Mac OS X x86 (64-bit) (November 20, 2012) Computer: Mac OS ...
1
vote
0answers
49 views

Any possible to save a 'partial' result of NDSolve when it was aborted due to insufficient memory?

I have run a NDSolve code for an extremely long time. Unfortunately, it was aborted because there was insufficient memory available to complete the computation. At ...
3
votes
1answer
55 views

Why does the Part::partw error appear when using DSolve?

I solved the following ordinary differential equation for $F(x)$ using DSolve in Mathematica $$ \begin{align} \begin{split} & A x^2 (x^2 + 1) F'''(x) - \left(3 A (b - 2) x^3 + a x^2 +A (b - 2)x +...
1
vote
0answers
40 views

Using Replacement Rule on Part of List? [closed]

Why can't I use a replacement rule to replace a variable name standing in for the index of a list? For example: myList={1,2,3,4,5} myList[[index]]/.index->3 ...
3
votes
0answers
27 views

EntityValue returns CharacterEncodingError

Whenever I try to use natural language-input, or even just call the EntityValue function, like in a Documentation example: ...
1
vote
1answer
34 views

Plotting x value and error bar in y from a data file

Here are some of the points where first column is the values on x axis and the other two values are lower and upper limits for the error bars in y. ...
0
votes
0answers
23 views

Tag list is Protected error [duplicate]

I have the code permutationBasis[mix_] := Table[change[B, mix], {B, basisHomology}] where mix should be an input of the form {5,4,1,2,3}. However this gives me ...
0
votes
0answers
32 views

Protected Variables in Parallel Loop [on hold]

I am trying to run the code below. ...
1
vote
1answer
52 views

nonatomic expression expected when trying to sum of the integrals of two functions

newbie to MMA. After computing the following two integrals: ...
1
vote
0answers
61 views

Differential equation: NDSolve::berr

I'm trying to solve the following differential equation. I'm able to obtain a solution, and that solution looks more or less as how the theory predict it should be. ...
4
votes
1answer
122 views

What is wrong with my code so it neither produces a correct plot nor an error message?

I am trying to define some initial functions and then using them to define my secondary functions and then plot the secondary functions. I am supposed to get two curves with a finite width ...
3
votes
2answers
126 views
2
votes
1answer
66 views

How to plot a function whose constant parameters have associated uncertainties in Mathematica 8.0?

Let's assume I want to plot the function $f(x)=a + bx+ cx^{2}$, where experimentally known values of parameters $a, b$ and, $c$ are as follows: $a=1.01 \pm 0.18$ $b=0.92 \pm 0.11$ $c=2.2 \pm 0.2$ ...
2
votes
2answers
43 views

NIntegrate::inumri error with continuous function

I'm trying to calculate the finite part of a divergent integral numerically, but as I bring the regulator down to $0$, Mathematica starts throwing an error. ...
0
votes
0answers
48 views

Objects of unequal length [on hold]

I have this error which I don't know why. The number of components in each matrix are equal but why it says that Objects of unequal length and cannot be combined?
3
votes
0answers
43 views

Why does Kernels[] produce this error?

Most of times, on my PC, when Kernel[] is launched for the first time, produces this error: Executed again returns {}. Is ...
0
votes
0answers
26 views

Apply gives “Set::setraw: Cannot assign to raw object 0” error

In my code, I'd like to avoid copying lines, that only differ in arguments. to that end I have done the following: ...
0
votes
0answers
52 views

What I make wrong with Module command;

I have a differential equations that I have to solve in two parts.e.g: ...
-1
votes
1answer
147 views

Why MMA is not able to solve this problem? [on hold]

I am running these following code in Mathematica. But, MMA does not output anything. It is giving me an message as "The integrand .... has evaluated to non-numerical values for all sampling points in ...
2
votes
2answers
54 views

How do I overcome an Overflow?

I'm trying to calculate entropies for an absolutely giant system by counting states, and this means I have to use some obscenely large numbers. I'm running ...
0
votes
1answer
32 views

Question about loading data by skipping

. It is often important to take data and measurements and give them a name which has a number, and manipulate them in a for loop fashion to manipulate a large data base efficently. The loop above ...
0
votes
1answer
49 views

Importing data from a MATLAB file to MATHEMATICA [closed]

I have been trying to import some matrices from MATLAB to MATHEMATICA. The matrices are the output after I run the MATLAB file. I had saved that file in .MAT format and trying to import it in ...
0
votes
1answer
36 views

Trying to solve ODE. Need help with error messages [closed]

With this code I get an error-message: Equation or list of equations expected instead of True in the first argument. Apparently y'[0] == v0 gives ...
0
votes
0answers
76 views

Force NDSolve to use finite difference

How to force NDSolve to use finite difference instead of FEM. I have the following code: ...
0
votes
0answers
72 views

Boundary conditions for NDSolve

I get the following message: Boundary values may only be specified for one independent variable. Initial values may only be specified at one value of the other independent variable. >> from ...
0
votes
2answers
84 views

BarChart with error bars

I need to plot BarChart with the error bars. What's the most straightforward way to do it?#plot range from 8 to 10 {8.5,8.6,8.9,9.5} and error bars of 0.1 and labeling of a,b,c and d. Is there ...
0
votes
1answer
137 views

“Save Graphic As…” suddenly doesn't work

I suddenly can't create jpegs or pngs using the menu. I have not changed versions or operating systems lately, but the method I've used all along suddenly doesn't work. When I create a plot, left-...
1
vote
1answer
42 views

“MemoryAllocationFailure” in DSolve

Mathematica 10.4, Windows 10, 6 GB RAM, 64 bits When I trying to solve DSolve[{v'[t] == 100 - 0.15 v[t]^2, v[0] == 30}, v[t], t] I get ...
1
vote
1answer
72 views

EntityValue doesn't work

EntityValue doesn't work I have a Windows 10, and Wolfram Mathematica 10.4 I reinstalled W.M but there is a same problem
1
vote
0answers
35 views

Fitting Data when both Variables Have Uncertainties [duplicate]

Does there exist a method in Mathematica for fitting some function f(x; a, b)=y (with parameters a, b) to data of the form {x, y} when both x and y have different uncertainties? It seems like it would ...
2
votes
0answers
60 views

Solving a system of first order differential equations [closed]

I've got a set of equations of motion here (describing the interior of a charged black hole, if you're interested). It's just four first order ODEs, so Mathematica should be able to solve this easily ...
1
vote
1answer
85 views

Mathematica 10.4.0 closes after 'Plot' command on Mac OS X

I have a Macbook air (2013) with OS X 10.8.5, and recently I installed Mathematica 10.4.0. The problem is, every time I try to plot something like Plot[x,{x,0,1}] ...
6
votes
0answers
100 views

SiegelTheta throws errors from calling Range with complex arguments

Bug introduced in 10.4 or earlier. This may or may not be related to the bug reported in this question. I was trying to verify the results of this challenge over on Code Golf with the following code:...
0
votes
0answers
46 views

Overdetermined Differential Equation is not overdetermined

I want to solve a system of two differential equations ...
1
vote
0answers
48 views

Manipulate Listplot of table [closed]

There is a simple code but it doesn't work Manipulate[ ListPlot[ {Table[ {Sin[Pi/4 Cos[t]], -Cos[Pi/4 Cos[t]]}, {t, 1, n, 0.1}]}], {n, 1, 20}]
2
votes
0answers
52 views

Unusual error message from Solve when called by DSolve

Question 111150 presents an equation nonlinear in its leading derivative ...
1
vote
1answer
73 views

Variable coefficient Differential Equation

Can anyone help with the following differential equation. The errors i am getting are also given. ...
0
votes
1answer
50 views

Error: Recursion Depth of 1024 Exceeded During Evaluation

I wrote a function that exchanges integration and summation in an expression. ...
0
votes
0answers
64 views

Switching from Integrate to NIntegrate

I'm trying to decrease the amount of time that it takes to run the following code: ...