• Non ci sono risultati.

Exercise: ODE solvers

N/A
N/A
Protected

Academic year: 2021

Condividi "Exercise: ODE solvers"

Copied!
1
0
0

Testo completo

(1)

Exercise: ODE solvers

Consider the following Cauchy problem

(y0(t) = −3y (t) + 2t − 2 t ∈ [0, 1]

y (0) = −1. (1)

- compute the approximation of y (1) by applying two steps of IE - implement in MATLAB the methods: EE, IE, CN (Crank-Nicolson)

and Heun, for solving (1); after checking the answer of the previous question, use the four methods to compute the solution on [0, 1]; plot the results for ∆t = .5, ∆t = .2, ∆t = .1 together with the exact solution

y (t) = (2t)/3 − 1/9 e−3t− 8/9.

1 / 1

Riferimenti

Documenti correlati

Among them, there are three major types of practical numerical methods for solving initial value problems for ODEs: (i) Runge-Kutta methods, (ii) Burlirsch-Stoer method, and

Il conflitto, si è visto, è naturale e inevitabile; ciò che fa la differenza è il modo in cui questo viene affrontato dal nucleo; preme anticipare che è proprio

Erano giochi che vedevano impegnati anche gli adulti, come ad esempio il polo, la balestra, il tiro all’arco, questo accadeva perché il costo dei materiali non era accessibile

Collocata esattamente al centro della catena zodiacale (857) ed espressa con la lapidaria brevità di una σφαγρίς, vi è poi l’allusione, in forma paradossale, al mito

[r]

[r]

For the update of RANKING table, consider that the Time field can assume the same value for two different