Extend the program to implement heun method

Assignment Help Computer Engineering
Reference no: EM131097992

E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 11

1. Numerical solution of the parachutist problem

The parachutist.py script on the course website presents analytic and numerical (using Euler's method) solutions to the parachutist problem, a classic introduction to differential equations (see, e.g. https://msemac.redwoods.edu/~darnold/math55/deproj/sp04/coleron/paper1.pdf).

In particular this code showcases a reasonable method to solve ODE's analytically using sympy (which might come in handy for your future course work in Engineering). It also shows how to implement Euler's method generically for any ODE of the form

dy/dx = f(x, y)

where x is a scalar, and y is a vector.

a. Extend the program to implement Heun's method (second order RK method with a = b = ½, α = β = 1), as well as the fourth order RK method given by

yi+1 = yi + h/6(k1 + 2k2 + 2k3 + k1)

where

k1 = f(xi, yi)

k2 = f(xi + h/2, yi + (h/2)k1)

k3 = f(xi + h/2, yi + (h/2)k2)

k4 = f(xi + h, yi + hk3)

b. Plot the numerical solutions with a step size of h = 1 against the analytic solution.

Attachment:- Assignment.rar

Reference no: EM131097992

Questions Cloud

Produce female puppies : A geneticist conducts her survey and calculates hat p = 0.512. Which of the following is the most correct interpretation of this statistic? a) There is a 51.2% chance that a randomly selected gamete cell will have the male chromosome.
Four model of relationship between religion and science : Four Philosophy question that I need to be answered in paragraph style. I need them in 4 Hours
Demands in excess of initial stock : What is the expected shortfall at the end of the week? That is, what is the expected number of demands in excess of the initial stock?
Formation of wood andmaintains cell walls : Calciumis essential to tree growth because it promotes the formation of wood andmaintains cell walls. In 1990, the concentration of calcium in precipitation ina certain area was 0.15 milligrams per liter (mg/L). A random sample of 10precipitation ..
Extend the program to implement heun method : E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 11. Extend the program to implement Heun's method (second order RK method with a = b = ½, α = β = 1), as well as the fourth order RK method given by yi+1 = yi + h/6(k1 + 2k2..
Effect of project-based learning on chemistry : In this project, you will prepare a case study about The Effect of Project-Based Learning on Chemistry RESEARCH PROBLEM: Is there any significant effect of project-based learning on chemistry?
Does this information make it easier to compute a maxflow : Does this information make it easier to compute a maxflow? Develop an algorithm that uses a given mincut to speed up ubstantially the search for maximum-capacity augmenting paths.
Obese and suffer from diabetes : Suppose that 3 % of all adults suffer from diabetes and that 32% of all adults are obese. Suppose also that 1 % of all adults both are obese and suffer from diabetes.
Influence aggregated demand : Suppose that during a given year, the quantity of U.S. real GDP that can produced in the long run rises from $17.9 trillion to 18.0 trillion, measured in based-year dollars. During the year on change occurs in the various factors that influence aggre..

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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