Book
Advanced Engineering Mathematics
Author
Erwin Kreyszig
Edition
8th Edition
A=matrix([[6,4],[3,5]]) # Coefficients of the variables
print 'Matrix=\n',A
b = vector([2, -34])
sol = A.solve_right(b)# Solution of the Matrix
A * sol
x, y = var('x, y')
print "\nResult of the Expressions:"
solve([6*x+4*y==2,
3*x-5*y==-34], x, y)# Displaying the Values of x and y
Solution by:
- Goheja Mahesh,Diploma Student,Pravara Polytechnic Loni-413637
