Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

Hi everyone, I'm trying to derive the equations of motion of a scalar field with a potential $V(\phi)$, $S:= -\int \sqrt{-g}(\frac{1}{2}g^{\mu \nu} \partial_{\mu}{\phi} \partial_{\nu}{\phi}+V )d^4x$; however when I compute the variational derivative of the action with respect to $\phi$ the potential does not appear (due to property V::Depends::{x}, only allow to make objects implicitly dependent on the coordinates). Is there any property in Cadabra which Makes an object explicitly dependent on other objects, like $V(\phi)$?

Thank you !!

in Feature requests by

Please log in or register to answer this question.

...