Question: 2 1 . A computer virus that spreads by way of e - mail messages is planted in 3 machines the first day. Each day,

21. A computer virus that spreads by way of e-mail messages is planted in 3 machines the first day. Each day, each infected machine from the day before infects 5 new machines. By the end of the second day, a software solution has been found to counteract the virus, and 1 machine is clean at that point. Each day thereafter, 6 times as many machines are clean as were clean the day before.
a. Write a recurrence relation for the total number of infected machines on day n.
b. Solve this recurrence relation.
c. How many days will it be before the effects of the virus are completely gone?
(The textbook says that T(n)=6T(n-1)-6^n-2.6T(n-1) is the number of infected machines and I was confused on why it was 6 instead of 5.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!