The question is related to ''Numerical Analysis'' subject, and insists on using C++ or Matlab programming language only
A company is producing an analysis on the required amount of energy to be generated for each will fulfill different customer reactor Type A, and Type C that two Type C requirements. the first customer has one Type A reactor, three Type B actors, second reactors with a requirement of total 15 MJ energy contributed by all reactors. the customer has two Type A reactors, four Type B reactors, three Type C reactors with a requirement of total 22 MJ energy contributed by all reactors.
On the other hand, the third customer has three Type A reactors, four Type B reactors, seven Type C reactors with requirement of total energy of 39 MJ.
Create a program of LU Decomposition to determine the amount of energy to be generate per reactor Type A, Type B, and Type C.