Question: How to put linear algebra command in a function

December 09 2013 adriun 10
Maple 15


my question may be simple but I don't find the answer in any help guide.
when I define a function I cannot use a linearalgebra expression such as Trace.
Here is an example of what I would like to do:

If anyone can help me...
Thank you

Please Wait...