Linked Questions

3 votes
1 answer
410 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 ...
subbu's user avatar
  • 2,304
2 votes
1 answer
205 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 ...
John Greger's user avatar
2 votes
1 answer
234 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 ...
luyuwuli's user avatar
  • 2,814
0 votes
0 answers
40 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 ...
袁子奕's user avatar
0 votes
0 answers
39 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. ...
jarvisstark's user avatar
554 votes
37 answers
134k 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 ...
113 votes
6 answers
123k 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?
niklasfi's user avatar
  • 2,673
16 votes
1 answer
56k 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?
stevenvh's user avatar
  • 7,018
6 votes
2 answers
10k 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. ...
Jimmy's user avatar
  • 61
9 votes
2 answers
3k views

Use different kernels for different notebooks

I know that the command LaunchKernels[] starts up four kernels on my machine: ...
Kagaratsch's user avatar
  • 12.1k
5 votes
2 answers
3k 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 ...
Milan Ivica's user avatar
3 votes
1 answer
663 views

How to import a variable from one notebook to another notebook?

I am a new user of Mathematica. I want to import a variable from notebook-1 to notebook-2 where I am currently using. I have searched for Mathematica repository but unfortunately I could not find an ...
Akbar Samiev's user avatar
7 votes
1 answer
516 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 ...
jtbandes's user avatar
  • 1,422
0 votes
2 answers
190 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 ...
NoEscape's user avatar
  • 842
3 votes
1 answer
191 views

Setting the context automatically based on section

Suppose I have a task that keeps things organized using contexts, so: ...
ArgentoSapiens's user avatar

15 30 50 per page