Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A computer virus is spread by way of e-mail messages, and is planted in 3 machin

ID: 2874176 • Letter: A

Question

A computer virus is spread by way of e-mail messages, and is planted in 3 machines the first day. Each day, each infected machine from the day before infects 5 new machines. Let a_n be the total number of machines that are infected (have this virus) on the nth day. (a). Write a recurrence for a_n. Do not forget the complete set of initial conditions! (You do not have to solve the recurrence.) (b). Now suppose that on the second day a software solution is found to counteract the virus, and one machine is cleaned on this (the second) day. Each day thereafter, twice as many machines are cleaned as were cleaned the day before. Write a recurrence for a_n. Do not forget the complete set of initial conditions (You do not have to solve the recurrence.)

Explanation / Answer

Let an be the no of machines infected on nth day

a1 = 3

New machines infected the next day = 5a1

Hence a2 = a1+5a1 = 6a1, a1 = 3

a2 = 18

a3 = a2+5a2 = 6a2=6(18)

and so on

an+1 = 6 an is the recurrence formula

an+1 = 6n a1 = 3(6n)

-----------------------------------

b) a1 = 3

a2 = 6a1-1 = 17

a3 = 6a2-1 = 6(6a1-1)-1

and so on

an+1 = 6(an) -1 is the recurrence formula

-------------------------------------------------------------

b)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote