hi(adsbygoogle = window.adsbygoogle || []).push({});

suppose i run Two notebook and in each of them i have matrix A and Constant B and a function C

in each notebook these things have the same name.

if in notebook 1 i assign B=10 then in notebook 2 B is 10 too , which is not my desire.

how can i define these constants and matrices and functions so that they are not affect each other in each notebook.

i do not want to rename one of these entities.

thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to define local variables and constants in mathematica

**Physics Forums | Science Articles, Homework Help, Discussion**