Multiply Two Matrices (Arrays) and put the result in a new array, use the different values of the Matrices (Arrays) below: Enter the elenents of first natrix : 1 2 3 4 5 6 ? 8 9 1 2 3 4 5 6 7 8 9 Enter the elenents of second natrix : 1 2 345 6789 1 2 3 4 5 6 8 9 The result of Multiplication Matrices: 30 36 42 66 81 96 102 126 150 The case of matrix multiplication, one row element of first matrix is multiplied by all columns of second matrix. 1 1 1 1 1 Matrix 1 2 Matrix 2- 2 3 3 3 3 3 3 11+1*2+13 1"1+1"2+13 1*1+1"2+1"3 Matrix 1 2*1+2*2+2*3 2*1+2*2+2'3 2*1+2*2+2'3 Matrix 2 3*1+3*2+33 3*1+3'2+3*3 3*1+3'2+33 6 Matrix 1 12 12 12 Matrix 2 18 18 18 Write your conclusion about the differences of applying the program in two programming languages and which one is more convenient and why.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question
The program should be written in Python language and c ++ language ,The program should be clear and concise.
Multiply Two Matrices (Arrays) and put the result in a new array, use the different values of
the Matrices (Arrays) below:
Enter the elenents of first natrix :
| 1 2 3 4 5 6 ? 8 9
1 2 3
4 5
6
7 8
9
Enter the elenents of second natrix :
1 2 3 4 5 6 7 8 9
1 2 3
4 5
6
8 9
The result of Multiplication Matrices:
30 36
42
66
81
96
102
126
150
The case of matrix multiplication, one row element of first matrix is multiplied by all
columns of second matrix.
1
1
1
Matrix 1
2
2
Matrix 2-
3
3
3
3 3
3
11+1'2+13
11+1'2+13
1*1+1"2+1"3
Matrix 1
2*1+2'2+2*3
2*1+2*2+2'3
2*1+2*2+2*3
Matrix 2
3*1+3*2+3*3
3*1+3'2+3*3
3*1+3°2+3°3
6
6
Matrix 1
12
12
12
Matrix 2
18
18
18
Write your conclusion about the differences of applying the program in two programming
languages and which one is more convenient and why.
Transcribed Image Text:Multiply Two Matrices (Arrays) and put the result in a new array, use the different values of the Matrices (Arrays) below: Enter the elenents of first natrix : | 1 2 3 4 5 6 ? 8 9 1 2 3 4 5 6 7 8 9 Enter the elenents of second natrix : 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 8 9 The result of Multiplication Matrices: 30 36 42 66 81 96 102 126 150 The case of matrix multiplication, one row element of first matrix is multiplied by all columns of second matrix. 1 1 1 Matrix 1 2 2 Matrix 2- 3 3 3 3 3 3 11+1'2+13 11+1'2+13 1*1+1"2+1"3 Matrix 1 2*1+2'2+2*3 2*1+2*2+2'3 2*1+2*2+2*3 Matrix 2 3*1+3*2+3*3 3*1+3'2+3*3 3*1+3°2+3°3 6 6 Matrix 1 12 12 12 Matrix 2 18 18 18 Write your conclusion about the differences of applying the program in two programming languages and which one is more convenient and why.
Expert Solution
steps

Step by step

Solved in 8 steps with 4 images

Blurred answer
Knowledge Booster
Structure chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage