Run the following code to initialize $\LaTeX$ output and load (Tevian's frontend to) the differential forms package, either by clicking on "Evaluate" or by typing Shift+Enter.
Now run the following code to specify the dimension, coordinates, and metric.
(The result should be the volume element $\omega$. Edit as desired.)
Now run the Sage code in the boxes below. (You can also enter your own code.)