### Homework assigned 10/23, due 10/30

### Write a subroutine

The program gauss_elim.m can call a subroutine "scaled_pivot.m".
Write this subroutine. Hint: in matlab, the command [a,i_max] =
max(test) will give you the maximum value of the vector test as well
as the index at which it occurs test(i_max) = a.
### Section 6.2

Written problems: 1, 3, 8, 13, 16, 22

Computer problems: 2, 3, 4, 5, 8, 18, 19, 20