- #1
Prove It
Gold Member
MHB
- 1,465
- 24
View attachment 9670
First we need to write the DE as a system of first order DEs.
Let $\displaystyle u = y $ and $\displaystyle v = y' $. Then
$\displaystyle \begin{align*} x^2\,y'' - 5\,x\,v + 7\,u &= 2\,x^3\ln{\left( x \right) }\\
x^2\,y'' &= 5\,x\,v - 7\,u + 2\,x^3\ln{ \left( x \right) } \\
y'' &= \frac{5\,x\,v - 7\,u + 2\,x^3\ln{\left( x \right) } }{x^2} \end{align*} $
So the system is
$\displaystyle \begin{align*} u' &= v , \quad \quad \quad \quad \quad \quad\quad\quad \quad \quad \quad u\left( 1 \right) = 5 \\ v' &= \frac{5\,x\,v - 7\,u + 2\,x^3\ln{\left( x \right) } }{x^2} , \quad\, v\left( 1 \right) = 2 \end{align*}$
I have used my CAS to apply the Runge Kutta scheme. Here $\displaystyle f\left( x,u,v \right) = v $ and $\displaystyle g\left( x, u, v \right) = \frac{5\,x\,v - 7\,u + 2\,x^3\ln{ \left( x \right) } }{x^2} $.
View attachment 9671
View attachment 9672
View attachment 9673
View attachment 9674
After having gone through two steps of $\displaystyle h = 0.1 $, we arrive at $\displaystyle x = 1.2 $. Since we let $\displaystyle u = y $, that means $\displaystyle y\left( 1.2 \right) = u_2 = 3.28752 $.
First we need to write the DE as a system of first order DEs.
Let $\displaystyle u = y $ and $\displaystyle v = y' $. Then
$\displaystyle \begin{align*} x^2\,y'' - 5\,x\,v + 7\,u &= 2\,x^3\ln{\left( x \right) }\\
x^2\,y'' &= 5\,x\,v - 7\,u + 2\,x^3\ln{ \left( x \right) } \\
y'' &= \frac{5\,x\,v - 7\,u + 2\,x^3\ln{\left( x \right) } }{x^2} \end{align*} $
So the system is
$\displaystyle \begin{align*} u' &= v , \quad \quad \quad \quad \quad \quad\quad\quad \quad \quad \quad u\left( 1 \right) = 5 \\ v' &= \frac{5\,x\,v - 7\,u + 2\,x^3\ln{\left( x \right) } }{x^2} , \quad\, v\left( 1 \right) = 2 \end{align*}$
I have used my CAS to apply the Runge Kutta scheme. Here $\displaystyle f\left( x,u,v \right) = v $ and $\displaystyle g\left( x, u, v \right) = \frac{5\,x\,v - 7\,u + 2\,x^3\ln{ \left( x \right) } }{x^2} $.
View attachment 9671
View attachment 9672
View attachment 9673
View attachment 9674
After having gone through two steps of $\displaystyle h = 0.1 $, we arrive at $\displaystyle x = 1.2 $. Since we let $\displaystyle u = y $, that means $\displaystyle y\left( 1.2 \right) = u_2 = 3.28752 $.