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

  Show the corresponding number

Using a loop and a single printlng statement, show all of the values (both strings and integers) in a table.

  Evaluate the ethical concerns that information systems

write a 4-5 page research paper in which you present a summary of the issue. express your own opinion or position on

  Compute the overall return on investment of the project

compute the overall return on investment of the project and then present a breakeven analysis , perform the BEA at what point does breakeven occur.

  What do you mean by lan subnet write downnbsp some of the

what is a lan subnet? what are some of the strategies for a network administrator to consider use subnetting why do

  What will be the list assumptions for the scope of project

What will be the list assumptions for the scope of project? Give detailed and measurable non functional requirements.

  Questionexamine the key components of a decision support

questionexamine the key components of a decision support system and issues facing an implementation of dss. what

  What is oriented programming and object-oriented design

Find out resources on Visual Basic. Select your favorite three and explain what they have to offer. Also discuss the differences between Object-Oriented Programming (OOP) and Object-Oriented Design (OOD).

  Imagine 5,000 input time slots are to be switched

The time slots are refreshed every 100 microsec. What memory cycle time is needed to keep up with the data flow.

  Assess the probable difficulties and risks associated with

read the case study titled ing life found.write a three to fournbsp page paper in which youassess the probable

  What is the sql

Recently AMI has been experiencing significant downtime because of  a failing software application written for AMI when the company started. This Access database application is responsible for a main manufacturing process.

  Compare alohanet with ethernet what are the similarities

1. using the tcpip network model describe the operations that occur step by step and layer by layer when passing a

  What is green computing and green communication technology

What is Green Computing and Green Communication technology.

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