Professional Documents
Culture Documents
Questions:
−1 2 0 4
4 −0.5 6 0
𝑀= [ ]
2.6 0 7 8
3 −7 4 2
Output the following:
a. List of all minors of M
b. Cofactors of M
c. Rank of M
2. Write a program that takes a list of complex numbers and computes a list of their
magnitudes (i.e. sqrt(a.real**2 + a.imag**2)).
3. Write a python function named union to return the union of two sequences.
Note: If a value appears multiple times in the input arguments, it should occur only once
in the return value. From the main program use this function to print the union of "abcd"
and ('e','f','g','h').