Plot the Euler’s Method approximate solution on [0,1] for the
differential equation
y* = 1 + y^2 and initial condition (a) y0 = 0 (b) y0 = 1, along
with the exact solution (see
Exercise 7). Use step sizes h = 0.1 and 0.05. The exact solution is
y = tan(t + c)
Plot the Trapezoid Method approximate solution on [0,1] for the
differential equation y = 1 + y2 and initial condition (a) y0 = 0
(b) y0 = 1, along with the exact solution (see Exercise 6.1.7). Use
step sizes h = 0.1 and 0.05 (Code In Matlab)
1. (Euler’s method) First, work out the first three steps by
hand. Then approximate y(2) for each of the initial value problems
using Euler’s method, first with a step size of h = .1 and then
with a step size of h = .05 using the Excel spreadsheet. (a) dy dx
= 2xy, y(0) = 1 (b) dy dx = x − y x + 2y , y(0) = 1 (c) dy dx = y +
x, y(0) = 1...
Use
Euler's Method to make a table of values for the approximate
solution of the differential equation with the specified initial
value. Use n steps of
size h. (Round your
answers to six decimal places.)
y' = 10x – 3y, y(0) = 7,
n = 10,
h =
0.05
n
xn
yn
0
1
2
3
4
5
6
7
8
9
10
Use 4 steps of the Modified Euler’s method to solve the following
differential equation to t = 2.6, given that y(0) = 1.1. In your
working section, you must provide full working for the first two
steps. To make calculations easier, round the calculations at each
step to four decimal places, and provide your final answer with four
decimal places. dy/ dt = 1.4sin(ty)
Compute, by Euler’s method, an approximate solution to the
following initial value problem for h = 1/8 : y’ = t − y , y(0) = 2
; y(t) = 3e^(−t) + t − 1 . Find the maximum error over [0, 1]
interval.
Find a general solution to the differential equation using the
method of variation of parameters.
y''+ 25y= sec5t
The general solution is y(t)= ___
y''+9y= csc^2(3t)
The general solution is y(t)= ___
2. (Improved Euler’s Method ) Second, work out the first three
steps by hand. Then approximate y(2) for each of the initial value
problems using Improved Euler’s method, first with a step size of h
= .1 and then with a step size of h = .05 using the Excel
spreadsheet. (a) dy dx = 2xy, y(0) = 1 (b) dy dx = x − y x + 2y ,
y(0) = 1 (c) dy dx = y + x,...