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

  Fit the exponential function to the relaxation data

Fit the exponential function to the relaxation data and report the filename as well as the A, tau and B values and run all 3 functions in sequence to analyze ALL data

  Solve the differential equation

Find a general solution of the following differential equation and solve the differential equation

  Script that will graphically show the range of frequency

the script that will graphically show the range of frequencies for which the ouput amplitude is less than 70% of the input amplitude. The original problem statement

  One-dimensional steady-state heat flow

A one-dimensional steady-state heat flow, the mathematical formulation of problem - find out the temperature differences at each locations and calculate the temperatures at each locations

  Write a functions

The function range basis takes a matrix A as input, and outputs a basis (again written as columns) for the range space of A.

  Problem gauss-seidel method

Write all of the above sets of equations in the matrix format and identify the sets that you cannot solve by using an iterative method such as Jacobi and/or Gauss-Seidel method. Show the details of how you decide that the method will not converge ..

  Find the laplace transforms

Find the Laplace transforms of the following functions - Find the partial fraction

  Design and fir filter in matlab

What does the pole-zero diagram tells you about the filter

  Anatomy of a machine

Need a Machine Learning application written in matlab to be able to predict, based on certain selected features of wine, which variants of wine are likely to score above a 5 out of 10 quality score.

  Calculate the inverse of a function

Using matlab write the function [Bag,x] = EG(A,b) to solve the system without pivoting. The solution is the vector x and flag is 0 when the algorithm is completed and 1 otherwise.

  Write the command and assign it to variable

Write the command and assign it to variable , Write a function named function_test

  Receives one number as an input argument

Write a function per2 that receives one number as an input argument. The function has a persistent variable that sums the values passed to it. Here are the first two time the function is called

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