- #1

- 9

- 0

The question is as follows.

Solve the initial problems

x' = y, x(0)=0

y' = -x, y(0)=1

for 0

__<__t

__<__1 .

Thanks.

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter johnchau123
- Start date

- #1

- 9

- 0

The question is as follows.

Solve the initial problems

x' = y, x(0)=0

y' = -x, y(0)=1

for 0

Thanks.

- #2

Hootenanny

Staff Emeritus

Science Advisor

Gold Member

- 9,621

- 6

For future reference please note that we have homework forums for such questions. However, in reply to your question, what methods do you know for solving first order differentials and which would be appropriate here?

- #3

- 9

- 0

Actually, the question requires us to use Runge Kutta method to solve the question, a numerical approach. However, I am confused if the question is a system of DE or it is actually questions.

Thanks.

- #4

HallsofIvy

Science Advisor

Homework Helper

- 41,833

- 963

The best way to handle a system of two equations with Runge Kutta is to set up two simultaneous "solvers", at each step using the values of x and y just calculated in the previous step to find the new values or x and y.

Share: