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