Question: 3. (20 pts) Vector (array) addition Create, in the memory, the following 2 two-integer arrays (vectors): Array(A), Array(B) Array(A)=234,Array(B)=567 (a) Add the 2 created arrays

3. (20 pts) Vector (array) addition Create, in the memory, the following 2 two-integer arrays (vectors): Array(A), Array(B) Array(A)=234,Array(B)=567 (a) Add the 2 created arrays (vectors): Array(A)+Array(B)=Array(C). (b) Print (console) the elements of the resulting vector [Array(C)]. - At the end of the problem clearly state the result (decimal) - In the report include a partial screenshot of the console with the result (decimal). 4. (20 pts) Matrix-vector multiplication Perform the following matrix-vector multiplication. m()[1324]v()[67]=r()[] (a) Load in the memory the matrix-vector coefficients: (1,2,3,4,6,7). (b) Multiply the (22) matrix [m()] by the (21) vector [v()] (c) Print (console) the elements of the resulting (21) vector [r()]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
