Approximate the solution to the above initial value problem

Assignment Help MATLAB Programming
Reference no: EM13574241

dy/dt = te3t - 2y, 0 ≤ t ≤ 1, y(0) = 0

Approximate the solution to the above initial value problem using

(a) Modified-Euler Method

(b) Midpoint Method

(c) Heun's Method

(d) 4-stage Runge-Kutta Method

with a time step of h = 0.1. For each method, tabulate the approximate solution and the error at each time step using the exact solution to this problem

y(t) = 1/5 te3t -1/25 e3t +1/25e-2t

Plot the approximate solutions and the exact function for comparison. In another graph, plot the error distributions. Note that you may need to give a separate plot for the error of 4-stage Runge-Kutta scheme to see the trend in a larger scale.

Reference no: EM13574241

Questions Cloud

Jim was excited as he drove into the car park at floating : jim was excited as he drove into the car park at floating investments limited. the senior management meeting was
With a time step of h 01 in each case use starting values : dydt yt- yt2 1 le t le 2 y1 1approximate the solution to the above initial value problem usinga 2-step
Suppose that you buy 100 shares then immediately sell the : abc stock has a bid price of 40.95 and an ask price of 41.05. assume there is a 20 brokerage commission. suppose that
Suppose the following rates are averages for banks in your : suppose the following rates are averages for banks in your area interest checking accounts pay 1 savings accounts pay 2
Approximate the solution to the above initial value problem : dydt te3t - 2y 0 le t le 1 y0 0approximate the solution to the above initial value problem usinga modified-euler
What was the average annual rate of return on long-term : what was the average annual rate of return on long-term government bonds 30-year treasury bonds during the period 1984
What factors should be considered in determining whether : the financial accounting standards board issued accounting guidance to clarify accounting methods and procedures with
If your homeowners insurance premium is 1000 and your : if your homeowners insurance premium is 1000 and your deductible is 2000 what could be considered the strike price of
Approximate the solution to the above initial value problem : 1. dydt te3t - 2y 0 le t le 1 y0 0approximate the solution to the above initial value problem usinga modified-euler

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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