|
Since the course is at introductory level, we suggest you simple programming projects.
1. http://web.mit.edu/6.00/www/ps/0/index.html (simple)
Write a program that does the following in order:
Asks the user to enter his/her date of birth.
Asks the user to enter his/her last name.
Prints out the user’s last name and date of birth, in that order.
2. http://web.mit.edu/6.00/www/ps/9/ (advanced)
Analysis of Virus Population Dynamics with Two Drugs
To better understand the relationship between patient outcome and the time between administering the drugs, we examine the virus population dynamics of two individual simulations from problem 6 in more detail.
Run a simulation for 150 time steps before administering guttagonol to the patient. Then run the simulation for an additional 300 time steps before administering a second drug, grimpex, to the patient. Then run the simulation for an additional 150 time steps. Use the same initialization parameters for Patient and ResistantVirus as you did for problem 6.
Run a second simulation for 150 time steps before simultaneously administering guttagonol and grimpex to the patient. Then run the simulation for an additional 150 time steps. Make sure you run the simulation multiple times to ensure that you are analyzing results that are representative of the most common outcome.
For both of these simulations, plot the total population, the population of guttagonol-resistant virus, the population of grimpex-resistant virus, and the population of viruses that are resistant to both drugs as a function of time.
In your writeup, include the plots from both simulations and explain the relationship between the patient outcome and the time between administering the two drugs arises.
def simulationTwoDrugsVirusPopulations():
"""
Run simulations and plot graphs examining the relationship between
administration of multiple drugs and patient outcome.
Plots of total and drug-resistant viruses vs. time are made for a
simulation with a 300 time step delay between administering the 2 drugs and
a simulations for which drugs are administered simultaneously.
"""
# TODO
|