I’m trying to write a function of a free particle in momentum space that includes a nested function which has a momentum dependency. However I do not know how to tell mathematica to treat this as a nested function, g[p], within the outer function f[p,t].
f[p_, t_] := g Exp[(-I* p^2*t)/(m *\[HBar])],
Assumptions -> m > 0 && \[HBar] > 0 && g[p_];
any help would be greatly appreciated!
Cheers,
Dev
Edit:
here’s what the function is supposed to look like:
I am intending to perform multiple linear operations on it and would like to have it well-defined function so I dont have to type it out each time.
I want to set this function up so that mathematica can take mulitple derivatives of it with respect to p. This function happens to include an unknown function that is also dependent on p so I want to explicitly state this somehow so that mathematica understands that when i want to perform derivatives or any linear operations on it to treat this unknown function as a function of p.