Linked Questions

3
votes
1answer
352 views

How to restrict global variables to within a given notebook? [duplicate]

Possible Duplicate: Is there a way to separate variables between multiple notebooks? I assigned a global variable like a=10; It works in all my notebooks, but ...
2
votes
1answer
204 views

Is there a convenient way to localize all variables in a new notebook? [duplicate]

I often digress to test some others’ code when working on my own problems. Usually, I have to check if there are conflict variables. Of course, it is not a wise way. By contrast, all the variables in ...
2
votes
1answer
47 views

Make different Mathematica notebooks stop talking to each other [duplicate]

So basically I am working in two completely different notebooks. But, if I define something in one notebook, it will overwrite the same definition in my other document. Somehow these files talk to ...
0
votes
0answers
38 views

How to restrict the use of variables to the notebook? [duplicate]

I am solving two problems simultaneously in which the variable x is defined. To the left of the image, i'm solving shape functions and matrix operations. But to the right i'm solving Green's function. ...
0
votes
0answers
34 views

How to create a new notebook without the value defined in a former notebook? [duplicate]

When I try to calculate sth new and create a new notebook, the variables in the former notebook will be a trouble. The only I know is use Clear["*"] or quit the ...
486
votes
37answers
112k views

What are the most common pitfalls awaiting new users?

As you may already know, Mathematica is a wonderful piece of software. However, it has a few characteristics that tend to confuse new (and sometimes not-so-new) users. That can be clearly seen from ...
99
votes
6answers
96k views

How do I clear all user defined symbols?

Is there some way to do this other than going to Evaluation -> Quit kernel and firing a new one up?
11
votes
1answer
40k views

What does “Tag Integer is Protected” message mean?

(Newbie question) For every function I define I get this message: When I close and reopen Mathematica, and re-enter the function definition, I don't get the message anymore. What does it mean?
5
votes
2answers
8k views

How do I plot a solution of a differential equation?

I am having trouble generating a plot for a solution to my differential equations. I always end up with just blank axes. ...
9
votes
1answer
2k views

Use different kernels for different Notebooks

I know that the command LaunchKernels[] starts up four kernels on my machine: ...
5
votes
2answers
2k views

Forecast Future Stock Prices - Brownian Motion - Again

excuse me, I think I have here a technical problem with Mathematica yesterday I posted the question with the title: Forecast Future Stock Prices - Brownian Motion I am still not very experienced but ...
7
votes
1answer
464 views

Context “Unique to This Notebook” makes variables black even if they're not defined?

I'm trying to use this technique to keep variables separated between different notebooks. It seems to be working fine, except that variables turn black as soon as they are evaluated — any ideas why ...
0
votes
2answers
175 views

How to avoid restart during development? [duplicate]

Possible Duplicate: How do I clear all user defined symbols? During package development things get messed up quite often. (especially when playing with notations) Is there a simple way to reset ...
3
votes
1answer
158 views

Setting the context automatically based on section

Suppose I have a task that keeps things organized using contexts, so: ...
3
votes
1answer
265 views

automatically add Global` to $ContextPath for all notebooks when using CellContext->Notebook

I have some definitions in my init.m. E.g. my init.m contains this: ...

15 30 50 per page