Hi I have the following tensor (the Cauchy-Green deformation tensor)

and I have the following energy function

Where

and are constants

(And is a piecwise function who's derivitives are already known but I can supply this information if it is needed.)

How do I calculate ?

Some version of the chain rule?

Thanks for any help in this matter, Nic