subject

PYTHON, HELP ME !!!.Make a program to manipulate matrices that stores 3 matrices A, B and C, and provide the following options to the user, using functions to implement each option except “Exit program”. For options (1) and (2), the user must inform the matrix will be filled and the matrix values, for options (3) to (5), the user must choose which matrices are the operands and which is an array with the result. How options should always be shown to the user (as below) until he exits the program choice.
(1) Fill matrix from keyboard
(2) Fill matrix with random values
(3) Add
(4) Subtract
(5) Multiply
a) The matrices must be displayed with three decimal places.
b) If the dimensions of the matrices are incompatible for the operations, the program
should show an error message.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:10, ianmartin6080
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
image
Computers and Technology, 22.06.2019 21:30, Nathaliasmiles
The graph shows median weekly earnings for full-time workers according to education level. which can you not conclude?
Answers: 2
image
Computers and Technology, 23.06.2019 07:00, lin550
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
image
Computers and Technology, 24.06.2019 13:00, pineapplepizaaaaa
If you add the following to the query grid in an access query, what is it called? salestaxamt: [salestaxrate]*[totalsale] formula calculated field total calculation
Answers: 2
You know the right answer?
PYTHON, HELP ME !!!.Make a program to manipulate matrices that stores 3 matrices A, B and C, and pro...

Questions in other subjects:

Konu
Mathematics, 20.10.2020 04:01