ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 19 Jan 2011 19:01:36 +0100Problem with supercriptshttps://ask.sagemath.org/question/7872/problem-with-supercripts/I've read that variables can be subscripted with underscore "_" and superscripted with caret "^". However supescripting doesn't seem to work. I think the caret is seen as a power operator. How to work around this?
Subscript example that works:
var('x,y,z_a')
eqn = x == y*z_a
solve(eqn, z_a)
Superscript example that fails:
var('x,y,z^a')
eqn = x == y*z^a
solve(eqn, z^a)
mouseWed, 19 Jan 2011 19:01:36 +0100https://ask.sagemath.org/question/7872/