Hi there!
I do like the fact that you can address an Output in mathematica, and use it in expressions. For a simple example, if my input In[1] is
2+2
obviously I get the output Out[1]
4
I can now address this in later calculations, e.g. the input In[2]
Sqrt[Out[1]]
gives as Out[2]
2
.
However, when I go back, and change In[1], for instance to
2+7
I get now Out[3]
9
and simply re-executing the next line
Sqrt[Out[1]]
would obviously still give
2
. I would have to change the line to
Sqrt[Out[3]]
to get
3
This destroys for me the whole sense of being able to address Outputs in Mathematica. It would be way more comfortable to have the lines change automatically, as an output changes, just as it is for example with equation labels in Maple.
Is there a way to do so in Mathematica as well?
Thanks! Gernot