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
Really confused on how to approach this problem.​
kkurt [141]

Step-by-step explanation:

For this Q, you should draw a triangle to help you with the values.

cos x =

\frac{ \sqrt{2} }{2}

csc x =

\frac{2}{ \sqrt{2} }

tan x = sin x/ cos x

= 1

cot x = 1

sec x =

\frac{ \sqrt{2} }{2}

x = 45 degrees

6 0
3 years ago
Liana started to evaluate the function f(x) = 2x^2 – 3x + 7 for the input value 2.
Igoryamba
I hope this helps you

6 0
4 years ago
Read 2 more answers
How many triangles can be made if two sides are 4 inches and the angle between them is 90°?
katovenus [111]

Answer:

I'm pretty sure just 1

Step-by-step explanation:


8 0
3 years ago
Read 2 more answers
17. Which of the following measures can be calculated for qualitative data? a. Mean b. Median c. Mode d. All of these
VLD [36.1K]

Answer: C. Mode

Step-by-step explanation:

Qualitative data applies to observable data such as reoccurring patterns (mode)

Quantitative data applies to numbers and numerical calculations (Mean, Median)

6 0
3 years ago
Find the zeros and the axis of symmetry of the parabola.PLEASE HELP PLEASE
ryzh [129]
Roots = 2, 4
A.O.S = 3.

The zeroes are where the parabola will meet the x-axis. The axis of symmetry pretty much just splits your parabola equally in half.
3 0
3 years ago
Other questions:
  • 8 books cost $19.60 <br><br> what would be the equation for the cost of 10 books
    7·1 answer
  • Given A = 1 /2 (b1 + b2)h, solve for h.
    7·1 answer
  • Just tell me the possible dimensions.
    7·1 answer
  • Find the slope between the following two points.<br> (9, 0), (12, -1)
    7·1 answer
  • H-4/x =y solve for x
    10·1 answer
  • A recipe shows that the yeast needed for a bread recipe is 2 and one-thirdounces. Which of the following decimals is equivalent
    9·1 answer
  • Your friend Alex is planning a fundraising game night to raise money for a local children's hospital. She invites a few of your
    14·1 answer
  • For a moving object, the force acting on the object varies directly with the object's acceleration. When a force of 28 N acts on
    9·1 answer
  • Write each rate as a fraction in lowest terms<br> 30 feet in 5 seconds<br> feet/sec
    9·1 answer
  • 1/3 + 2/? = 17/24<br><br> fill in the question mark and answer in message box
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!