Sharedsupport / 2014-11-08-symbolic-value.sagewsOpen in CoCalc
Examples for support purposes...
var('a,b,k,l')
eq=[(a-4)*k+b*(-k)==0,    #  eigenValue=4, eigenVector=(1,-1)
    (a-2)*l+b*(l)==0]     #  eigenValue=2, eigenVector=(1,-1)
B=solve(eq,a,b)
B
B[0]
B[0][0]
(a, b, k, l) [[a == 3, b == -1]] [a == 3, b == -1] a == 3
z = B[0][0]
z.rhs()
3


sage_eval("2^3 + 5")
13