Questions seeking help understanding error messages and fixing errors.

learn more… | top users | synonyms (2)

0
votes
0answers
25 views

Protected Variables in Parallel Loop

I am trying to run the code below. ...
-3
votes
0answers
34 views

An error in Do Loop [on hold]

I previously asked a question a bout how to make Do Loop with if condition in this post: Do loop with If condition Actually I applied the answer of @JasonB by using Reap and Sow on a function in ...
1
vote
1answer
37 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
57 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
118 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
121 views
2
votes
1answer
55 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
42 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
44 views

Objects of unequal length

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
42 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
22 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
50 views

What I make wrong with Module command;

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

Why MMA is not able to solve this problem?

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
52 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
25 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
45 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
35 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
69 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
70 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
80 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
134 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, ...
1
vote
1answer
40 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
62 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
57 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
79 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
99 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 ...
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
50 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
44 views

Error: Recursion Depth of 1024 Exceeded During Evaluation

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

Switching from Integrate to NIntegrate

I'm trying to decrease the amount of time that it takes to run the following code: ...
6
votes
0answers
220 views

Mathematica 10.4 crashes when using too many font sizes

While working on How to make the digits of π around like this? I encountered a problem that Mathematica would crash at regular intervals with an internal self-test error, either ...
4
votes
1answer
151 views

Why does merely writing SeriesData[] with zeros give an error, even if it is never called?

Bug introduced in 8.0 or earlier and persisting through 10.4.1 Why does the code Function[t, SeriesData[t, 0, {0}, 0, 1, 1]] give me the following error? ...
3
votes
1answer
88 views

How to stop Mathematica from turning off warning messages in a loop?

I'm using NonLinearModelFit on a large set of data and which contains a nested Do-loop. I'd like to see all of the cases where there is an issue with the non-linear ...
4
votes
1answer
74 views

Is there a message for functions evaluating to infinity?

Everyone has perhaps been irritated by the Power::infty message: Cos[0]/Sin[0] Power::infy: Infinite expression 1/0 ...
3
votes
2answers
144 views

How to expand error messages truncated by Skeleton (<< >>)

I have a command that gives me an error message with lots of abbreviations like Power[<<2>>]. Specifically, I get Sorry for the bad formatting, I ...
1
vote
1answer
42 views

Error in the exercise or in mathematica settings

I am going through Kenneth Rosen's book about discrete mathematics. Chapter 1 there is a example where we build functions to check valid conclusions. Here is the code: ...
0
votes
0answers
32 views

Solving for limit of integration with a piecewise function (FindRoot vs NSolve) [duplicate]

I am trying to solve for the limits of integration using a piecewise function. I'm doing this in a loop over a list of data, mostly because I'm not well-versed enough in Mathematica to make this a ...
1
vote
1answer
102 views

PerfectNumber messes with my iterator

I am using Mathematica 10.4 (sorry bbgodfrey) (temporary message) Let mmVerbose = 10^2000 + 123123798797192983712873198273122323; kkVerbose = 10^7; The ...
1
vote
0answers
62 views

DSolve throws an error about Solve and returns unevaluated [duplicate]

I evaluate: DSolve[{2*y[x] + y'[x]^2 + a*x^b == 0}, y[x], x] During evaluation of In[26]:= Solve::ifun: Inverse functions are being used by Solve, so some ...
0
votes
0answers
58 views

Why does this code produce an infinite loop?

I can't understand the way this code behaves and suspect that is because of some unrecognized reasons of general interest. Otherwise, I apologize and will retire the question. In ...
1
vote
1answer
36 views

This input is incomplete [closed]

I'm sorry if this is a totally simple question, but I'm new to Mathematica, and I've just spent 30mins looking through the documentation, but I can't seem to figure out why this code won't work: ...
5
votes
1answer
81 views

An unexpected match when using Condition, Optional and passing a Sequence

Mathematica is behaving in an expected way when passing a parameter with an Optional and a Sequence. Here is an example: ...
0
votes
0answers
88 views

NIntegrate non-numerical values error occurs when MaxRecursion is increased

I was doing some numerical integration,and found out when MaxRecursion was low(such as the default 9 times),the integration can have a result with the warning: ...
1
vote
0answers
87 views

Mathematica Internal Self Test Error winFonts|c|310 [closed]

Every time I open Mathematica, I get two identical error messages: ...
3
votes
1answer
57 views

ExcelRun::failed: Type mismatch >> error when calling an Excel macro from Mathematica

I have a macro in a module within an Excel file (called "test.xlsm", saved on my desktop) that takes one argument as a string: ...
2
votes
1answer
80 views

Display line number/stack trace of error in script (i.e. batch mode / command line interface)

I am trying to set up a Mathematica script so that it runs from the command line in the manner that a sane person would expect. I have the following at the start of the file: ...