Example 1.
First create a manifold and define a metric tensor on the tangent space of .
Calculate the inverse of .
Check the result -- the contraction of with should be the type (1, 1) tensor whose components are the identity matrix.
Example 2.
First create a rank 3 vector bundle and define a metric on the fibers.
Calculate the inverse of .