Square CoCalc Logo
FeaturesSoftwarePricingInfoPoliciesShareSupport Try Sign InSign Up
Path: support / 2014-11-08-symbolic-value.sagews
Description:

Examples for support purposes.

Views: 1079155
License: GPL3
Image: ubuntu2004-dev
Project: Support and Testing
Raw | Embed | Download |
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