Develop python program of function random array(m, n) that takes two integers as an argument and returns a 2D m-by-n array with random elements in it. Develop python program of function adder(a1, a2)...



  1. Develop python program of function random array(m, n) that takes two integers as an argument and returns a 2D m-by-n array with random elements in it.

  2. Develop python program of function adder(a1, a2) that reads two 2D arrays of the same size and returns an array that summarizes a1 and a2. To add the two arrays, you need to add their elements correspondingly.

  3. Develop a python program of function inverse ray(a) that takes a 2D-array as an argument and inverses the array. You will need to inverse the rows first and then inverse the columns next. For instance, if the array = [[2, 3, 4], [5, 6, 7]], the inverse will be = [[7, 6, 5], [4, 3, 2]]



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here