- #1
member 428835
Hi PF!
I'm computing functions that depend on parameter values, such as ##f(x,n,a) = a x^n##, where I compute ##a = \int_0^1x^n\, dx##. I compute for say ##a = \{ 1,2,3 \}##. Is there a way to save this in a different notebook so I don't have to repeat computations after I close Mathematica? I've read the "save" documentation but it's unclear to me if I have to give a different name to each variable: i.e. ##f1 = f[x,1,a], f2 = f[x,2,a]## and then save ##f1,f2## or if I can simply save variables as ##f[x,1,a],f[x,2,a]##.
Any help is greatly appreciated!
I'm computing functions that depend on parameter values, such as ##f(x,n,a) = a x^n##, where I compute ##a = \int_0^1x^n\, dx##. I compute for say ##a = \{ 1,2,3 \}##. Is there a way to save this in a different notebook so I don't have to repeat computations after I close Mathematica? I've read the "save" documentation but it's unclear to me if I have to give a different name to each variable: i.e. ##f1 = f[x,1,a], f2 = f[x,2,a]## and then save ##f1,f2## or if I can simply save variables as ##f[x,1,a],f[x,2,a]##.
Any help is greatly appreciated!