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

  Find the difference between a blog and a wiki

Explains what blogs are and how they could be used in a business environment. Give two examples of how a business might use blogs. What is the difference between a blog and a wiki.

  Consumer protection view

The free market view and The consumer protection view.

  Core memory consists of the cpu and arithmetic logic

Core memory consists of the CPU and arithmetic logic unit but not the attached cache memory - Does the implementation of cache memory on multi-core chips vary from one manufacturer to another? Explain and cite your sources

  Address operating systems that .net does not support

Why will a company like Microsoft choose to create the .NET proprietary platform when J2EE is readily available? As a software developer, how could you address operating systems that .NET does not support.

  Create a table with uneven cell sizes

Trying to make use of a table with uneven cell sizes. I have made the cells and 2 tables which I'm trying to combine into 1 table and then make borders around that table (and around the cells as well).

  Design and develop a list of factors

choose an organization for analysis and develop a list of factors (minimum 5) associated with high Performance. For each factor you identify, develop a rating scale from 1 to 5 (at least one of the factors must have a rating of 1 or 2). A 1 means ..

  Prepare program that reads a text file and stores the data

Can you prepare the program that reads a text file and stores the data into an Object called fruit Say the text file data is as follows for

  Metric conversion program

Write down a javascript which will assist user along with the metric conversions. Your program must enable the user to state the names of units as strings.

  What is the difference between a policy and a procedure

What is the difference between a policy and a procedure. How do regulations affect network policies

  Write down a c program that accepts a name

Write a C program that accepts a name as first name last name and then shows the name as last name, first name.

  Formula in cell

Enter a formula in cell B7 on the Summary worksheet

  Define the importance of bandwidth

define the importance of bandwidth

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