Develop a computational program that creates the coefficient, weight, and constant matrices for a…

Develop a computational program that creates the coefficient, weight, and constant matrices for a network. Write the matrices to a file in a format usable by the MATRIX program supplied with this book. Demonstrate its use with Problem 16.17.