- #1
bubokribuck
- 42
- 0
Hi, I have problems rewriting equations with the term y'' as a system of first order differential equations.
I've been given several equations and was told to write them as 1st order DEs, then calculate the numerical solution using the Euler's modified method.
I know that y'=f(x,y), so if [tex]y'=x+y , y(0)=1, h=0.1[/tex] I can apply the Euler's method:
[tex]y_1=y_0+hf(x_0,y_0)=1+0.1(0+1)=1+0.1=1.1[/tex]
But the following equations all contain the term y''.
[tex]y''-0.2(1-y^2)y'+y=0 , y(0)=0.1, y'(0)=0.1, calculate: y(0.2)[/tex]
[tex]-x^2y''-2xy'+2y=-4x^2 , y(1)=0, y'(1)=1, calculate: y(1.1)[/tex]
[tex]y''=2y'/x-2y/x^2-1/x^2 , y(1)=0, y'(1)=1, calculate: y(1.1)[/tex]
How am I supposed to turn them into first order DEs please?
I've been given several equations and was told to write them as 1st order DEs, then calculate the numerical solution using the Euler's modified method.
I know that y'=f(x,y), so if [tex]y'=x+y , y(0)=1, h=0.1[/tex] I can apply the Euler's method:
[tex]y_1=y_0+hf(x_0,y_0)=1+0.1(0+1)=1+0.1=1.1[/tex]
But the following equations all contain the term y''.
[tex]y''-0.2(1-y^2)y'+y=0 , y(0)=0.1, y'(0)=0.1, calculate: y(0.2)[/tex]
[tex]-x^2y''-2xy'+2y=-4x^2 , y(1)=0, y'(1)=1, calculate: y(1.1)[/tex]
[tex]y''=2y'/x-2y/x^2-1/x^2 , y(1)=0, y'(1)=1, calculate: y(1.1)[/tex]
How am I supposed to turn them into first order DEs please?