The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 4 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Need help writing a Java program that finds the determinant of a matrix using a LINKED LIST structure to store the matrix (NOT arrays). My program can solve 1 and 2 order matrices, but I need help figuring out how to get it to solve matrices higher than that. Help is needed before Friday, 4 August 2017 at 3:00 PM US Pacific Time. Attached are java files I have written so far.
Â
Instructions: Need help developing a program to compute the determinant of a matrix. It should read a matrix, print it out, compute and print the determinant. The program should be able to evaluate multiple matrices on a single execution. The program should handle matrices up to and including those of order 6. Use of recursion is okay but not mandatory. Use some form of linked list structure to store the matrix. You may use double, single, circular or multilinked lists with or without headers.
Â
Example input:
1
5
2
2 3Â
5 9Â
3
3 -2 4Â
-1 5 2Â
-3 6 4Â
4
2 4 5 6Â
0 3 6 9Â
0 0 9 8Â
0 0 0 5Â
4
2 4 5 6Â
0 0 0 0Â
0 0 9 8Â
0 0 0 5Â
4
2 0 0 0Â
0 3 0 0Â
0 0 9 0Â
0 0 0 5Â
4
2 4 0 6Â
1 3 0 0Â
4 0 0 8Â
2 5 0 5Â
6
6 4 6 4 6 4Â
1 2 3 4 5 6Â
6 5 4 3 2 1Â
3 2 3 2 3 2Â
4 6 4 6 4 6Â
1 1 1 1 1 1
Attachments:
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly