# Tagged Questions

The tag has no usage guidance.

5answers
130 views

### How to get a list of indices at which errors occur during iteration

I have been looking at some of the questions regarding error handling but i think my problem is unique. I am running a Do-loop. I get errors only for certain values of the loop variable due to the ...
2answers
144 views

### Solution of a System of Equations Using Solve

Part 1 I am trying to solve a simple system of equations as follows Solve[{A x^B == f, A y^B == g}, {A, B}] But I just get the error Solve::nsmet: This ...
1answer
72 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$ ...
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: ...
1answer
172 views

### Goal optimization: finding the best combination of capacitors and resistors resulting in given properties

I want to edit @MarcoB answers (because the code he gave doesn't answer the question appropriately)->(the function that need to be optimised is not implemented as asked) But it seems like I am having ...
1answer
91 views

### How to count the actual occurence of a warning message in a Do loop?

I am running a lot of simulations to fit a model to randomly generated data. Sometimes the fitting converges properly sometimes it does not, but it will give you the fitting parameters anyway. I would ...
1answer
143 views

...
1answer
151 views

### Adding Trace produces error messages

This is very strange. As I was trying to debug this problem, I noticed when I add Trace then I get lots of internal errors generated. This also happens the first ...
2answers
892 views

### SystemException[“MemoryAllocationFailure”, …] with NMaximize

I have a complicated analytical expression that needs to be maximized with respect to a parameter t: ...
1answer
67 views

### Show error messages from collapsed sections

I've got a fairly long notebook. I like to have most of the sections collapsed. If I evaluate the entire notebook I don't see errors in the collapsed sections unless I expand them. I did see that I ...
2answers
155 views

### Automatically detect largest interval over which NDSolve can find a solution

Question: Consider the following numerical resolution: NDSolve[eqn, {x1[t], x2[t], y[t]}, {t, tmin, tmax} where eqn, ...
2answers
73 views

### How to output (anything) if any error happens

I have long code which goes through iteration process. some times I get error messages. I want to get the iteration numbers (or any kind of output indications) when errors happen. for example, how ...
2answers
3k views

### How to fix this error : SetDelayed::write: Tag Plus in (<<1>>)[x_] is Protected.? [duplicate]

I don't get the meaning of the sign <<>> and also from which line the error is coming as I have a program of more than 30 lines with many defined functions without using "Module" . Is not there ...
0answers
57 views

### How to find discretezation error of NDSolve

Is there a way to find out how large the truncation, round-off, and other errors that occur from discretizing a differential equation are while using the default settings in NDSolve? Or would I have ...
1answer
188 views

### Mathlink works strangely

I have problem when using mathlink, the source code is quite simple: ...
2answers
414 views

### MathKernel doesn't return all Messages

In Mathematica I run this command: Plot[Sin[x], {x, 1, 15}, GridLines -> error] It generates a Plot with this error message: A GridLines specification ...
0answers
135 views

### How can you link Parallel Mapping and Error tracking

Following this question and the comments made, together with the information in this question, the following code allows error tracking and debugging very nicely. ...
0answers
78 views

### Finding and interpreting errors [duplicate]

This sounds like a fairly trivial question, but I can't think of any way to solve it. I am doing an extensive parameter sampling where a set of ODEs is used together with ...
5answers
706 views