var("u,v,l",domain=RR)
sigma = vector([u*cos(v),u*sin(v),l*u])
Dsigma = matrix([[diff(s,u) for s in sigma],[diff(s,v) for s in
sigma]]).transpose()
print(Dsigma)
EFG = (Dsigma.transpose())*Dsigma
EFG.simplify_trig()
print(EFG)
gives
[ cos(v) -u*sin(v)]
[ sin(v) u*cos(v)]
[ l 0]
[ l^2 + cos(v)^2 + sin(v)^2 0]
[ 0 u^2*cos(v)^2 + u^2*sin(v)^2]
Why Simplify_trig does not work in this case?
Thanks to everybody
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/7b286f22-dd42-4a3e-bb95-f5e1f8638173%40googlegroups.com.