sage - How do I solve a system of linear equations using SageMath? -
i have system of linear equations, not want answer number - want in terms of parameters.
ax+by= m cx+dy= n don't have values of constants, above equation, i'd want answer x = (md-nb)/(ad-bc) , y = (mc-na)/(bc-ad).
how do in sage?
var('a b c d m n x y') solve([a*x+b*y==m,c*x+d*y==n],x,y)
Comments
Post a Comment