First order differential equation

Assignment Help Mechanical Engineering
Reference no: EM13945471

A single person infected with Ebola returned to his village, which had no one else infected, at time t=0. The virus is spread through contact between sick and well members of the population. Let P be the proportion of the population that has contracted the virus. The proportion of the population that has been infected can be expressed by the first order differential equation:

dP/dt = kP (1 - P)  P(0) = Po

where the growth constant k is 0.02. The village was quarantined, limiting the total population to 10,000. Assume no one enters or leaves the village during the modeling time.

1. Use Euler's method with a time step of 10 hours to numerically approximate the system for 1000 hours. With this method how long will it take for half the population to be infected? Print the answer. Plot your solution curve, label your axes.

2. Repeat the Euler's method with time steps of 1 hours. With this method how long will it take for half the population to be infected? Print the answer. Plot your solution curve, label your axes.

3. Solve the system using ode45() by using a function with naming convention ebola.m. Plot the solution on the same figure, add a legend. With this method how long will it take for half the population to be infected? Print the answer. Plot your solution curve, label your axes.

4. Comment on the solutions of the three different simulations above.

Euler's Method:

y' = f (t, y)

t n + 1 = tn + h

yn + 1 = yn + hf (t n , yn )

Reference no: EM13945471

Questions Cloud

Explain how the agency implemented the program : Write a 1,050- to 1,750-word paper in which you identify a grant funded program that was implemented by a criminal justice agency in the last five years. Include the following in your paper:
Depreciation calculated under the double-declining : Prepare the adjusting entry that would be made in 2014 to record the depreciation calculated under the double-declining balance method
Specify the nature of the interrelationships : Specify the nature of the interrelationships between the federal, state, and local government, the private sector, and nongovernmental organizations as outlined in the National Planning Frameworks and the five (5) preparedness mission areas in the..
Define benthic zone define the term ecological factor : Define benthic Zone? Define the term ecological factor? Name only one intracellular parasite? What is biome? Name the type of interaction seen between whale and barnacles growing on its back?
First order differential equation : The virus is spread through contact between sick and well members of the population. Let P be the proportion of the population that has contracted the virus. The proportion of the population that has been infected can be expressed by the first ord..
Compensates the investor for the risk associated : Investments are based on the belief that the rate of return justifies or compensates the investor for the risk associated with that particular investment. The risk associated with this investment is associated with the chance that a loss will be i..
What is the implication for the investor : Do leading indicators tend to give longer warnings before peaks or before troughs? What is the implication for the investor?
Indeed by the second world war : By mid-century, indeed by the Second World War, was a strong reaction against the pretentions of the Moderns. Artists of this newer generation pursued a more democratic, pluralistic mode for poetry and the novel.
Case study involving the allied group : Note: The course project assignments are based around a case study involving the Allied Group. The main scenario is provided, below, in the Week 1 instructions. The assignments will progress from one week to the next during the course. You are to ..

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  It is pressurised internally until the outer layer surface

a thick cylinder has an inside diameter of 60 mm and an outside diameter of 100 mm. it is pressurised internally until

  Saturated liquid-vapor mixture of water

Saturated liquid-vapor mixture of water, called wet steam, in a steam line at 1500 kPa is throttled to 50 kPa and 100 C. what is the quality in the steam line?

  Determine the rate of heat transfer through the rod

Consider an aluminium (k = 380 W/m-K) cylindrical rod of 0.15-m-long and 0.05-m-diameter. The top and bottom surfaces of the rod are maintained at constant temperature of 20oC and 95oC, respectively, while the side surface is perfectly insulated. Det..

  Estimate the pressure drop across the honeycomb the

for straightening and smooting an air flow in a 50 cm diameter duct the duct is packed with a honeycomb of 35 cm long 4

  It is initially at a uniform temperature of 25 degc and is

a long stainless steel rod 18 cr 8 ni has a diameter of 6.4 mm. it is initially at a uniform temperature of 25 degc and

  Refrigeration cycle maintains a clean room

A refrigeration cycle maintains a clean room at 68o F by removing energy entering the room by heat transfer at the rate of 0.21 Btu/s. The cycle rejects energy by heat transfer to the outdoors where the temperature is 80o F. Assume steady state opera..

  Decide to install a pitot tube on the bottom

In order to double check your speedometer on your boat you decide to install a pitot tube on the bottom. One tube protrudes straight downward, while the other tube has a 90 degree bend, pointing the tip into the direction of motion.

  Calculate the flow field downstream of the plate ie

a flat plate separates two supersonic air flows. the flow along the upper surface has a mach number of 1.4 and a

  Determine the solar elevation at solar noon for winer

1. determine the solar elevation at solar noon for winer solstice equinox and summer solstice for elevations 30 40 and

  Now heat is transferred and the entire system cools to the

a 15-ft3 steel container that has a mass of 75 lbm when empty is filled with liquid water. initially both the steel

  The studs are made of grade 8 material find the torque

a grade 30 cast iron pressure vessel has a sealed head diamter of 20 inches. it uses ten 114 unf steel studs that are

  The earth weight of the capsule is 77 lb and the mean

a rocket launches an unpowered space capsule at point a with an absolute velocity va 8560 mihr at an altitude of 27

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd