1. Homepage
  2. Homework
  3. MATH3090 Computational Mathematics - Assignment 2- Euler methods and predator-prey model
This question has been solved

MATH3090 Computational Mathematics - Assignment 2- Euler methods and predator-prey model

Contact Us On WeChat
CanadaYork UniversityMATH3090Computational MathematicsProject on Computational FinancePython

Project on Computational Finance

MATH3090: Computational Mathematics Assignment 2 CourseNana.COM

  1. Analyze the discretization error of improved Euler’s method in the context of our well-stirred coffee model, i.e., Newton’s cooling model. Denote the time step size as h = T/K. a) he continuous model is given as the following

u (t ) = c (u − u(t )) where t ∈ (0,T ] u(0) = u0 CourseNana.COM

Assume that the solution of (1) have the 1st, 2nd, and 3rd derivatives on the time interval [0, T]. What is the Taylor expansion of u((k + 1)h ), the temperature at (k+1)h, around time kh up to the 3rd derivatives of u. CourseNana.COM

b) What is the discrete model of (1) using the improved Euler’s method? Prove that the numerical solution of the discrete model can be written as u k +1 = u k + hc (usur − u k )− c) Use python to code the improved Euler’s method on the cooling coffee problem. Compare the accuracy of forward Euler, backward Euler and improved Euler’s methods by varying the time step size h. Present your results in a table and draw a conclusion. (You can use the codes given in the class for forward Euler, backward Euler methods) CourseNana.COM

  1. Given a predator-prey model as the following

where x represents the prey population and y represents the predator population. Please answer the following questions. a) Find the equilibrium solutions and interpret the results b) Use the system of differential equations to find dy/dx c) Draw a direction field for the resulting differential equation in the xy-plane d) Suppose x0 = 20, y0 = 2. Draw the solution curve and use it to describe the changes in both populations e) Use part d) to draw of x and y as functions of t for 50 years (i.e., t_range = (0, 50.0) CourseNana.COM

Get Expert Help On This Assignment

Scan above qrcode with Wechat

Canada代写,York University代写,MATH3090代写,Computational Mathematics代写,Project on Computational Finance代写,Python代写,Canada代编,York University代编,MATH3090代编,Computational Mathematics代编,Project on Computational Finance代编,Python代编,Canada代考,York University代考,MATH3090代考,Computational Mathematics代考,Project on Computational Finance代考,Python代考,Canadahelp,York Universityhelp,MATH3090help,Computational Mathematicshelp,Project on Computational Financehelp,Pythonhelp,Canada作业代写,York University作业代写,MATH3090作业代写,Computational Mathematics作业代写,Project on Computational Finance作业代写,Python作业代写,Canada编程代写,York University编程代写,MATH3090编程代写,Computational Mathematics编程代写,Project on Computational Finance编程代写,Python编程代写,Canadaprogramming help,York Universityprogramming help,MATH3090programming help,Computational Mathematicsprogramming help,Project on Computational Financeprogramming help,Pythonprogramming help,Canadaassignment help,York Universityassignment help,MATH3090assignment help,Computational Mathematicsassignment help,Project on Computational Financeassignment help,Pythonassignment help,Canadasolution,York Universitysolution,MATH3090solution,Computational Mathematicssolution,Project on Computational Financesolution,Pythonsolution,