Approximate the solution to the above initial value problem

Assignment Help MATLAB Programming
Reference no: EM13574237

1. 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.

2. 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: EM13574237

Questions Cloud

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
Lew jewelry co uses gold in the manufacture of its products : lew jewelry co. uses gold in the manufacture of its products. lew anticipates that it will need to purchase 500 ounces
If after 6 months the homeowner experiences a casualty loss : the owner of a house worth 180000 purchases an insurance policy at the beginning of the year for a price of 1 000. the
Using the above information and assuming that steady-state : shady sunglasses operates retail sunglass kiosks in shopping malls. below is information related to the company dollar
During prosperous years the companys profits coupled with a : brooks corp. is a medium-sized corporation specializing in quarrying stone for building construction. the company has

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Fingerprint watermarking techniques

Need to investigate the best method to embed watermark image into fingerprint image.

  Write a script that simulates a casino machine

Write a script that simulates a casino machine. To play a single round on the machine user pays $ 5. Now when the user start the machine, the machine rolls a pair of dice (simulate both dice with help of random number generator) and user only wins..

  Write a curried function to add n

Write a curried function to add N (where N is an integer) to each item of a list.

  Rearranging preceding relationship between moles and mass

Create a function M-file called mass that requires two vector inputs-the number of moles and the molecular weight-and returns the corresponding mass. Because you are providing vector input, it will be necessary to use the meshgrid func..

  The matlab language has the built-in ability

The MATLAB language has the built-in ability to perform mathematical operations on complex numbers. However there are times when it is useful to treat complex numbers as structures.

  Compute the economy sized svd

Compute the economy sized SVD of the reshaped A matrix.

  Determine the volume of the pyramid

Determine the volume of the pyramid. When the user enters every value, they will then be prompted also for either 'i' for inches, or 'c' for centimeters.

  Obtain the cross products using matlab cross function

Use MATLAB cross function to obtain the above cross products. Note that the accelerations are known functions of the derivatives of the three coordinates.

  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

  Write a matlab function newtonraphson

Write a MATLAB function newtonRaphson(fx, x0, sigfig, maxIT) that will return a root of the function f(x) near x=x0 using the Newton-Raphson method, where sigfig is the accuracy of the solution in terms of significant figures

  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 that ?nds one root of a polynomial equation

Write a MATLAB program that ?nds one root of a polynomial equation using the Bisection method. A script ?le in MATLAB is a ?le that contains a sequence of MATLAB statements.

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