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

  Consider a cstr with a feed stream

Consider a CSTR with a feed stream containing only A at a concentration of cA and the reactions A?B?C taking place in the CSTR. Both reactions are first order in the reactant

  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.

  Modify the functions for the bisection and false-position

Modify the functions for the bisection and false-position techniques of finding a root of an equation (see below questions) so that the number of iterations can be determined and displayed. (The count should only be displayed after the loop is com..

  Recall the velocity of the falling parachutist

Question: Recall the velocity of the falling parachutist can be computed by  V(t) = gm(1-e -c/mx )/c,  Use first order error analysis to estimate the error of v at t=6. If g=9.8 and m=50 but c=12.5 +_ 1.5

  Compare with the true value

compare with the true value of 6.737947 x 10 -3  . Use 20 terms to evaluate each series and compute true and approximate relative errors as terms are added.

  Write a program to compute a

Write a program to compute A. Test it with P = $55,000 and interest rate of 6.6% (i = 0.066). Compute results for n = 1, 2, 3, 4, and 5 and display the results as a table with headings and columns for n and A

  Solve a system of linear equations

Use Gauss-Jordan elimination to solve the system of simultaneous equations - functions to convert a matrix to upper triangular form.

  Write project report and provide cross-synthesis

Write project report and provide Cross-synthesis.

  Write a function that takes a list of integers

Using ML write a function that takes a list of integers as argument and returns a pair consisting of the sum of the even position and the sum of the odd positions of the list.

  A good way to structure this program

A good way to structure this program is to read in each "number" as a string of characters, look at the first character to determine what kind of number it is (hex, binary, decimal), and then call an appropriate function to convert the string into..

  Find general solution of the ordinary differential equation

Find a general solution of the following ordinary differential equations and find the general solution of the following ordinary differential equation

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