Question: select arbitrary number and plot

hi

 

i write a code that solve system of ode. when i ask maple to show my answer its shows following statement:

 sol := dsolve({diff(G(x), x, x)+Le*f(x)*(diff(G(x), x))+(Nt/NB)*diff(T(x), x, x) = 0,diff(f(x), x, x, x)+f(x)*(diff(f(x), x, x))-(2*nn)/(nn+1)*(diff(f(x), x))^2 = 0,diff(T(x), x, x)/Pr+f(x)*(diff(T(x), x))+NB*(diff(T(x), x))*(diff(G(x), x))+Nt*(diff(T(x), x))^2=0,G(0) = 1, G(b) = 0, T(0) = 1, T(b) = 0, f(0) = 0, (D(f))(0) = 1, (D(f))(b) = 0}, numeric);

 sol(0);
[x = 0., G(x) = 1.00000000000000, diff(G(x), x) = -.746991573644011, T(x) = 1.00000000000000, diff(T(x), x) = -.380102325151328, f(x) = 0., diff(f(x), x) = 1.00000000000000, diff(f(x), x, x) = -1.10142844377672]

 

its true and i want to calculate sol(0) , sol (.1) and .... and then plot G(x) in terms of x. i dont know how i write a code to do it automatically. i want a command that seperate G(x) from sol(0) and save it to another function then plot it.

 

thancks

Please Wait...