Question: using matlab matrices Score 29 Q, 2 Max A group of five workers in a factory can spread a contaminant. If a worker gets contaminated,
using matlab matrices


Score 29 Q, 2 Max A group of five workers in a factory can spread a contaminant. If a worker gets contaminated, the worker can spread the contamination through direct contact with his or her coworker. Let A = {2,} be the adjacency matrix of the contacts that workers have with one another, defined by the rule that aj 1, if i can contaminate j O if i cannot contaminate j Assume that 0 A= 0 1 0 0 1 0 1 0 1 1 0 0 0 1 0 0 1 0 0 1 1 0 1 0 Recall from the class that (ij) entry of An gives the number of paths pf length n from vertex I to vertex j. (a) Calculate AP and A. What can you conclude from all the entries? (b) Calculate A+ A + A3. What do you conclude from this matrix (c) Which workers have the least potential for s[reading contamination? (d) Find the sum of the columns of D = A+ A + A3 by using the command sum (D). What interpretation can be made for the largest column sum? 500w21hw2b (2).docx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
