1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
NeTakaya
3 years ago
14

The question is in the picture.

Mathematics
1 answer:
Bad White [126]3 years ago
8 0

Write a C program to compute Matrix Multiplication of two matrices. Use one dimensional array to store each matrix, where each row is stored after another. Hence, the size of the array will be a product of number of rows times number of columns of that matrix. Get number of row and column from user and use variable length array to initialize the size of the two matrices as well as the resultant matrix. Check whether the two matrices can be multiplied or not. Write a getMatrix() function to generate the array elements randomly. Write a printMatrix() function to print the 1D array elements in 2D Matrix format. Also, write another function product(), which multiplies the two matrices and stores in the resultant matrix. With SEED 5, the following output is generated.


Sample Output


Enter the rows and columns of Matrix A with space in between: 3 5


Enter the rows and columns of Matrix B with space in between: 5 4


Matrix A:


   8     6     4     1     6


   2     9     7     7     5


   1     3     1     1     2


Matrix B:


   9     5     4     5


   9     9     8     1


   4     4     3     5




   2     6     2     1


   4     5     2     4


Product AxB:


168   146   106    91


161   186   125    81


50    52    37    22


In conclusion, the answer is -5


Thank you, please give Brainliest, I swear, it is correct! :)


You might be interested in
The perimeter of a playing field for a certain sport is 174 ft. The field is a rectangle, and the length is 45 ft longer than th
Leno4ka [110]

Answer:

21 ft by 66 ft

Step-by-step explanation:

From the question,

P = 2(L+W)............... Equation 1

Where P = Perimeter of the playing Field, L = Length of the playing Field, W = width of the playing Field.

If the Length of the Field is 45 ft longer than the width,

L = 45+W............ Equation 2

Substitute Equation 2 into equation 1

P = 2(45+W+W)

P = 90+4W............. Equation 3

Given: P = 174 ft.

Substitute into equation 3

174 = 90+4W

4W = 174-90

4W = 84

W = 84/4

W = 21 ft.

Substituting the value of W into equation 2

L = 45+21

L = 66 ft.

Hence the dimensions of the playing field is 21 ft by 66 ft

3 0
3 years ago
Can you guy help for this questing <br> 1234
postnew [5]

Answer:

1. Median

2. Altitude

3.  Altitude

4. Neither

Step-by-step explanation:

Median- splits the side into two congruent parts

Altitude- Makes a right  angle

1. Splits the side. Median

2. Makes a right angle. Altitude

3.  Makes a right angle. Altitude

4. Doesn't make a right  angle or split the sides. Neither

4 0
3 years ago
A. A farmer irrigates her fields with 120,000 cubic yards of water. She has a 1,000-acre farm. How
horsena [70]

Answer:

120 cc yards of water

Step-by-step explanation:

A farmer has 1,000-acre farm. And she irrigates her fields with 120,000 cubic yards of water. We are asked to find how many cubic feet of water does she apply per acre?

1000 acre is irrigated by = 120000 cc yard of water

Hence 1 Acre is irrigated by

= \frac{120000}{1000} cc yards of water

Hence 1 Acre is irrigated by 120 cc yards of water .

8 0
3 years ago
What is the exact value of the expressions the square root of 180 − the square root of 125 the square root of 5 ? simplify if po
joja [24]
\sqrt{180}-\sqrt{125}+\sqrt5=\sqrt{36\cdot5}-\sqrt{25\cdot5}+\sqrt5\\\\=\sqrt{36}\cdot\sqrt5-\sqrt{25}\cdot\sqrt5+\sqrt5\\\\=6\sqrt5-5\sqrt5+\sqrt5\\\\=\boxed{2\sqrt5}
5 0
4 years ago
Read 2 more answers
How to solve a quadratic equation that does not factor?
svlad2 [7]
Use the formula or complete the square.
The zeroes of the quadratic can be real and rational; real and irrational; complex conjugates.
If the quadratic is ax²+bx+c, x=(-b+√b²-4ac)/2a.
If b² > 4ac the solutions are real. If b²-4ac is a perfect square, the solutions are real and rational; otherwise they’re real but irrational.
If b² < 4ac the solutions are complex.
7 0
3 years ago
Other questions:
  • What's the simplified answer ?
    12·2 answers
  • All my digits are different.The sum of my digits is 24.Rounded to the nearest 100,I am 1000,but rounded to the nearest 10.I am 9
    7·1 answer
  • I really need help with this. Thank you!!
    15·1 answer
  • Gabrielle and John each
    7·1 answer
  • Prof. Lazy decides to assign final grades in CSE 312 by ignoring all the work the students have done and instead using the follo
    6·1 answer
  • Jacob answered 80% of the questions in a test correctly.
    7·1 answer
  • Someone please help me with this question
    5·1 answer
  • I will give you brainliest or whatever it’s called just pls answer within 45 minutes !!
    9·1 answer
  • What additional piece of information would prove △LMK≅△NMK by Side Angle Side?
    12·1 answer
  • Northlake High School has two lunch periods. Students can eat their lunch in
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!