- #1

maciejj

- 6

- 0

## Homework Statement

Need to solve

xy''+y'+xy=0 using Runge Kutta on x[1,3]

Couldn't find algorythm to solve second order ODE using this method

I know how to do 1st order

## Homework Equations

## The Attempt at a Solution

I know I have to make this equation into 2 first order ODE

xy''+y'+xy=0

Let v(x)=y'(x)

v'(x)=y''(x)

y'=v

xv'+v+xy=0

y'=v f1(x,y,v)

v'=-v/x-y f2(x,y,v)

now what I need to do next?