Question: It is required to design and implement a matrix calculator that supports all necessary operations that can be done on Matrices. Operations that will be

 It is required to design and implement a matrix calculator that

It is required to design and implement a matrix calculator that supports all necessary operations that can be done on Matrices. Operations that will be supported in this first milestone are: 1- Addition of two matrices 2- Subtraction of two matrices 3- Multiplication of two matrices 4- Multiplying matrix by a scalar REMOVED THE DIVISION Input Format The matrix should be entered by the user in the following format: [1 2 5, -1 8 14.2, 7.01 -18 99.3] which is the format equivalent to a 3x3 matrix as shown: 1 -1 17.01 2 8 -18 5 14.2 99.3 User can choose between the different operations as follows: In case of Addition: user uses 't' symbol between the two matrices as follows: [1 2 4, 4 7 8] + [-5 3 5, 7 6 1] The first matrix is in a line, then the operator on a new line, and finally the second matrix is also on a new line. The ouput must be in the following format: (Will be printed on a whole new line) [1 2 4, 4 7 8] + [-5 3 5, 7 6 1] [-4 5 9, 11 13 9]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!