Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Show C++ code and output of these different functions Given two matrices X_m tim

ID: 3776095 • Letter: S

Question

Show C++ code and output of these different functions

Given two matrices X_m time n and Y_l time k write a program that conducts the following: Initializes X_m time n and Y_l time k, where {m, n, I, k} are user defined and also its contents. Develop a matrix calculator which evaluates the following using a 'switch' statement and several functions: Z = X + Y Z = X - Y Z = X times Y Z = X times Y^-1 Z = X^-1 Z = cX, where c is a constant det (X) Z = Adjoint (X) Z = X^T The program should have a separate function called 'print' that simply prints the answer and may be called each time to print the result.

Explanation / Answer

output :

initializes:-