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

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

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