Question

Required information Solve a system of ODEs using Eulers method. Consider the following pair of ODEs over the interval from

The step size is actually 0.075 not 0.25. Thanks!

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let X = \begin{bmatrix} y \\ z \end{bmatrix} and F(t, X) = \begin{bmatrix} -2y + 4 e^{-t}\\ -\frac{yz^2}{3} \end{bmatrix} . We have X(0) = \begin{bmatrix} 2 \\ 4\end{bmatrix} . According to Euler method,

X_{n+1} = X_n + h F(t_n, X_n)
= \begin{bmatrix} y_n \\ z_n \end{bmatrix} + 0.075 \begin{bmatrix} -2 y _n + 4e^{-t_n}\\ - \frac{y_ n z_n ^2 }{3} \end{bmatrix} .

Note that since \frac4 {0.075} is not an integer, the value of y(0.4), z(0.4) cannot be calculated properly. We must use a extrapolation.

1596238958484_image.png

First row T, second row y, third row z. With the extrapolation we get y(0.4)= 1.8047 and z(0.4) = 1.8125 .

Add a comment
Know the answer?
Add Answer to:
The step size is actually 0.075 not 0.25. Thanks! Required information Solve a system of ODEs...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT