With a time step of h 01 in each case use starting values

Assignment Help MATLAB Programming
Reference no: EM13574244

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

Approximate the solution to the above initial value problem using

(a) 2-step Adams-Bashfort Method

(b) 3-step Adams-Bashfort Method

with a time step of h = 0.1. In each case use starting values obtained from 4-stage Runge-Kutta method. For each method, tabulate the approximate solution and the error at each time step using the exact solution to this problem

y(t) = t
1 + ln(t)

Plot the approximate solutions and the exact function for comparison. In another graph, plot the error distributions.

Reference no: EM13574244

Questions Cloud

Rha company owns 30 percent of the stock in aju : rha company owns 30 percent of the stock in aju corporation and receives dividends of 20000 in a given year. assume
Federal semiconductors issued 11 bonds dated january 1 with : federal semiconductors issued 11 bonds dated january 1 with a face amount of 880 million on january 1 2013. the bonds
Panya has total assets of 1000000 common equity of 400000 : panya has total assets of 1000000 common equity of 400000 a gross profit of 800000 total operating expenses of 620000
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

Reviews

Write a Review

MATLAB Programming Questions & Answers

  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 roots using matlab built-in functions roots & fzero

the following equation, what is the modified equation for a fixed-point iteration method. The roots of the function are x = -2.2020235, -0.4088152, and 1.11083871, how would you determine whether or not the method will converge on a root? If the tech..

  Determine the optimal linear predictor

Determine the optimal linear predictor for a given order N and DPCM simulation and write a graphical user interface that has least the following functions

  Computes the stiffness matrix for one bilinear element with

write Matlab code that computes the stiffness matrix for one bilinear element with 4 nodes

  Write a script that will loop through values

Write a script that will loop through values of n until the difference between the approximation and the actual value is less than 0.0001.

  Does the root directory have any subdirectories

Does the root directory have any subdirectories you cannot search as an ordinary user? Does the root directory have any subdirectories you cannot read as a regular user? Explain.

  Matlab program which will determine your vehicle fuel usage

Create a MATLAB program which will determine your vehicle fuel usage (MPG, miles/gallon) rating for a user defined number of trips ('for' repetition structure). Review the voiceover supplied for an example of the required input/output from this progr..

  Write a script to solve the following systems of equations

Write a script to solve the following systems of equations using both matrix left division (\) and the inverse matrix method and Show that you have tested your MATLAB code appropriately

  Considered to equal when the result of one array subtract

Two arrays are considered to be equal when the result of one array subtracted from the other is an array of zeros. In the script file, create the MATLAB commands to prove the following relationships (use arrays that you makeup yourself)

  Cell array named carray that will hold numbers and text

In MATLAB, write a program to create a cell array named CArray that will hold numbers and text. Create a loop that first asks for an 'n' to be entered for a number or an 's' to be entered for a text string. If neither an n nor an s is entered, end..

  Develop your own matlab function for the fixed-point method

Develop your own Matlab function for the Fixed-point method. Use the approximate relative error as your stopping criterion. The first line of your function should be function [root,froot,ea,iter] = fixedpoint(func,xr,es,maxit)

  Boundary conditions for the finite element model

The computer program or the finite element model for one value of a and the excel file for finite element results processing;Boundary conditions for the finite element model

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