This is my 3rd Order IVP.
D[y[x], {x, 3}] == (m/2)*((D[y[x], x])^2 - 1) - ((m + 1)/2)*
y*(D[y[x], {x, 2}])^2.
Initial conditions given are as follows y[0] = 0;
y'[0] = 0;
y''[0] = 1;
(* This is the First assumed value of y''[0] for
initializing shooting method using RK 4rth order method *)
For this problem y'[infinity] is equal to 1, I want to loop the shooting method using Runge Kutta 4 th order method in such a way that after calculations, it will check the y'[] value at sufficiently large value of x and from experimental results, for x ~ 7-8, f'[] is 1.
To Use RK method I redefined the equation like
D[l[x], {x, 2}] == z; D[y[x], x] == l; D[z[x], x] == (m/2)*(l^2 - 1) - ((m + 1)/2)*z*y;
Now I could write one loop for RK method but this is proving out a bit tough for me because I have to generate a list for different values of f[0] { 0,1} and m is also a variable with range (0-1) step size 0.01 & then I have to deal with 3 equations simultaneously. I am solving this over C programming but its not that efficient. I dont know how to go ahead. If anyone could throw some light.....
m? Then your equation involves simple mistake,y*(D[y[x], {x, 2}])^2should bey[x] (D[y[x], {x, 2}])^2. Finally, I tried to setm = 1, and this equation is easily solved byNDSolve. – xzczd Mar 03 '14 at 02:17y[0] == 0, y'[0] == 0, y'[6.6] == 1, [Theta][0] == 0, [Theta][6.4] == 1}, {y, y', y'', [Theta]}, {x, 0, 20}]
– user11948 Mar 03 '14 at 07:03s = NDSolve[{2*y'''[x] + ((1/3) + 1) y[x]*y''[x] + 2*(1/3)* (1 - (y'[x])^2) == 0, \[Theta]''[x] + 0.5*0.72*(1/3 + 1)*y[x]*\[Theta]'[x] == 0, y[0] == 0, y'[0] == 0, y'[7] == 1, \[Theta][0] == 0, \[Theta][6.4] == 1}, {y, y', y'', \[Theta]}, {x, 0, 20}]
– user11948 Mar 03 '14 at 07:51Plot[Evaluate[{y[x], y'[x], y''[x], \[Theta][x]} /. s], {x, 0, 5}]-after my name, I didn't receive the message for your comment. I chose the initial conditiony''[0] == 1for I didn't notice it's just assumed and the actually boundary isf'[Infinity] == 1, then, if you want to apply shooting method, you may be interested in this and this post. – xzczd Mar 11 '14 at 13:43