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
What is the order of magnitude
Angelina_Jolie [31]

Answer:

El orden de magnitud de un número es la potencia decimal del valor relativo de su cifra significativa. Por tanto, se dice por ejemplo que dos números difieren 2 órdenes de magnitud si uno es 100 veces más grande que el otro.

Step-by-step explanation:

3 0
4 years ago
The circumference of a circle is 177 ft. Find its diameter, in feet.
SpyIntel [72]

Answer:

56.3408 ft

Step-by-step explanation:

3 0
3 years ago
To enroll in a 30 hour spanish class, students must pay $480.50. If the language center collected a total of $19,260, how many p
laiz [17]

Answer:

40 people

Step-by-step explanation:

480.80 times 40 this equals 19,220

8 0
2 years ago
Determine if xy is tangent to circle z
Kisachek [45]
Hi there!

When a segment is tangent to a circle, it is perpendicular to the radius. If you're given measurements, like the image below, you can use the pythagorean theorem to determine if the triangle is a right triangle. If the triangle is right, then the segment is tangent to the circle.

Hope this helps!! :)
If there's anything else that I can help you with, please let me know!

4 0
4 years ago
A beach ball has a diameter of 18 inches. What is the approximate volume, rounded to the nearest whole number, of the inflated b
alekssr [168]

Answer:

3,052 cubic inches

Step-by-step explanation:

·· A beach ball has a spherical shape

·· Formula to calculate the volume of a sphere is given as:  

In the question, we are given

Diameter = 18 inches

We have to find the radius

Radius = Diameter/2

Radius = 18 inches/2

Radius = 9 inches

The volume of the beach ball =  

= 3,052.08 cubic inches

Approximately to the nearest whole number = 3,052 cubic inches

6 0
2 years ago
Other questions:
  • What are the first five terms of the arithmetic sequence
    13·2 answers
  • What is 5 in into centimeters
    11·2 answers
  • Pls give me the answer of qn 23
    8·1 answer
  • What is the answer?
    12·1 answer
  • Pooja's plant began sprouting 2days before Pooja bought it, and she had it for 98 days until it died. At its tallest, the plant
    6·2 answers
  • Need help with the reasons
    9·1 answer
  • Length A is 4 ft. after a dilation is performed length B is 7ft. what was the scale factor used?
    7·1 answer
  • 1) Greaters sold 30 milkshakes last week. 20%. of the milkshakes had whipped cream on them. How many shakes had whipped cream? A
    9·1 answer
  • Gerber Product's Gerber Mixed Cereal for Baby contains, in each serving, 60 calories and 11 grams of carbohydrates.† Gerber Mang
    12·1 answer
  • A grocer purchased a 100-pound mixture of nuts for $515.The mixture contains 70 pounds of peanuts that cost $3.50 per pound.The
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!