subject
Engineering, 25.11.2019 19:31 raynamg2718

Your assignment is to write a program that inputs two square matrices and then calls functions that you create that add, subtract, and multiply the two matrices. your program must first ask the user the size of the square matrices that are to be used. this must be a number from 2 to 6. next, the user is requested to enter the two matrices. make certain that you display good directions(using print statements) on how this input is to be done! next, the program prints out the two matrices and then invokes the three functions. the first function adds the two matrices, the next subtracts the second from the first, and the third multiplies the two matrices. the program must print the results of these operations after each of the functions returns. make certain to output these matrices in a way that is easy to read and understand!

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:20
Describe one experiment in which the glass transition temperature and melting temperature of a totally amorphous thermoplastic material can be determined. show the relevant experimental results in a diagram which should be properly annotated with the two temperatures clearly marked. what is likely to happen to the curve in the diagram if the amorphous polymer is replaced by a thermosetting type?
Answers: 2
question
Engineering, 04.07.2019 18:20
Air flows over a heated plate àt a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point.the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
question
Engineering, 04.07.2019 18:20
Wiy doeres rere okhn a pump whon working betwon the same pressure range?
Answers: 2
question
Engineering, 04.07.2019 19:10
What is creep? what is stress relaxation?
Answers: 1
You know the right answer?
Your assignment is to write a program that inputs two square matrices and then calls functions that...
Questions
question
Mathematics, 11.03.2021 04:40
Questions on the website: 13722363