Question : solve the following by Cramers rule in matlab x+2y-z=5 -x -2y -3z=7 2x+y-z=-1 Solution: %matlab program to solve x+2y-z=5, -x -2y -3z=7, 2x+y-z=-1 by Cramers rule A = [1 2 -1;-1 -2 -3;2 1 -1]; B = [5;…
Posted inAdvanced Math
Question : solve the following by Cramers rule in matlab x+2y-z=5 -x -2y -3z=7 2x+y-z=-1 Solution: %matlab program to solve x+2y-z=5, -x -2y -3z=7, 2x+y-z=-1 by Cramers rule A = [1 2 -1;-1 -2 -3;2 1 -1]; B = [5;…