Sage 5.4.1 Hi, I got the following code that does total differentiation off a Sage blog:
x, y, z = var('x, y, z')
U = CoordinatePatch((x, y, z))
F = DifferentialForms(U)
f = F(x^2 + y + sin(z)); f
g = f.diff(); g
cos(z)dz + 2x*dx + dy
How do I convert g to a symbolic form where dx, dy, and dz are also symbolic variables? I need to assign values to all variables via a for loop. Also, is it possible for g to be a 3x3 matrix? Thanks much, mahlon