Project #13973 - Simple Visual Basic Programming Problem

Spread of an Epidemic A community of 10,000 individuals is exposed to a flu epidemic in which infected individuals are sick for two days and then are immune from the illness. When we first start to observe the epidemic (that is, on day 0), 200 people have had the illness for one day, and 100 people have had the illness for two days. At any time, the rate at which the epidemic is spreading is proportional to the product of the number currently ill and the number susceptible. Specifically, each day

 

[# of individuals in the first day of the illness]  =

       CInt(0.0001735 * [# sick the previous day] * [# susceptible the previous day])

 

Write a program that displays successive bar graphs illustrating the progress of the  epidemic. When the Show Day 0 button is clicked on, the bar graph should show the distri-bution for day 0. See Fig. 9.72. Each time the Advance One Day button is clicked on, a bar graph showing the distribution for the next day should appear. Figure 9.73 shows the bar graph after this button has been clicked on three times.

 

Picture of how the program should look has been attached.

Subject Computer
Due By (Pacific Time) 10/08/2013 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy