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

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -