BENG449 Problem 8 2

# BENG449 Problem 8 2 - 8:52 PM MATLAB Command Window 1 of...

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 4/10/08 8:52 PM MATLAB Command Window 1 of 2 >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Alex Lemon % % BENG449 -- Biomedical Data Analysis % % Problem Set 8, Question 2 % % Due April 11, 2008 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The differential equations describing a model of an epidemic appear in % rate_equations.m. Integrate the differential equations for the model in % order to determine: % a.) How many weeks does it take for this epidemic to reach its peak? % b.) What is the maximum number of persons sick at the peak of the % epidemic? % c.) In how many weeks will the epidemic subside (when less than 0.5% of % the susceptible population is still infected)? P = 1000; S0 = P; I0 = 1; R0 = 0; alpha = 0.005; beta = 1; c = [alpha beta]; tspan = [0 10]; xzero = [S0, I0, R0]; [t, x] = ode45(@rate_equations, tspan, xzero, , c); % a.) How many weeks does it take for this epidemic to reach its peak?...
View Full Document

{[ snackBarMessage ]}

### Page1 / 4

BENG449 Problem 8 2 - 8:52 PM MATLAB Command Window 1 of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online