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 5x1
Please give Brainliest answer thanks! :)
The answer would be 3n^2 + 2.
This can be found/proven by replacing "n" with term number (1,2,3,4...), then solving to get the final number. For example 3 * 1^2 + 2. You would first do 1^2, which is 1. Next, you would multiply 1 by 3, to get 3. Finally, you'd and the 2 to get 5. 5 is the 1st term, and you can use this same equation to get the rest of the terms you need.
I hope this helps!
Step-by-step explanation:
Circumference of wheel = πd = 0.75πm.
How far the car travels per minute
= 60s * (14m/s) = 840m.
Hence number of revolutions per minute
= 840m / 0.75πm
= 356.507....
= 357. (nearest whole number)
idk
Step-by-step explanation:
im to tired this sucks
Your father will require 14.6 cups of sugar for the larger group
<h3>Ratio and proportions</h3>
From the question, we have that 2.5 cups of sugar can be used to make recipes for 6 people that is;
6 people = 2.5 cups of sugar
In order to calculate for 35 people, we will have;
35 people = x
Taking the ratio of the expressions
6/35 = 2.5/x
6x = 87.5
x = 87.5/6
x = 14.6
Hence your father will require 14.6 cups of sugar for the larger group
Learn more on ratio and proportions here: brainly.com/question/19994681