Secondtake

Info iconThis preview shows page 1. Sign up to view the full content.

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

Unformatted text preview: alshadthefluatt=0.Third,takeR(0)=0.Inotherwords, noonehadimmunitytotheHongKongfluatt=0.Finally,takeb=1/2,i.e.an 2 infectedpersonhadonecontactsufficienttospreadtheflueverytwodays,andk= 1/3,i.e.onethirdoftheinfectedpeoplerecoveredeachday. SolveFors(t),i(t),andr(t)inMATLAB Useode45inMATLABandtheinitialconditionstosolvethethreecoupled differentialequationsofthemodelfors(t),i(t),andr(t)overtherange0t150 days.Yoursolutionshouldincludeascriptthatcallsafunctionthatcontainsthe coupleddifferentialequations.Besureyouroutputincludesaplotofs(t),i(t),and r(t)onthesameaxes.Plots(t)asblackpluses,i(t)asredcircles,andr(t)asgreen squares.Fromyourgraph,whatwasthepeakfractionini(t)?Atwhattdidthepeak occur?WhatfractionofNewYorkCitygotthefluat150days?Isitpossibletohavea lowpeakinfectionrateandstillendupwiththemajorityoftheCitygettingtheflu? Ifso,explainwhy. 3...
View Full Document

Ask a homework question - tutors are online