I am just a beginner to use Maple and now I have a second order linear equation with boundary conditions to solve. I want to get the numerical solutions and plot the solutions. However, I have tried many times, and still do not get the solution. So I want to ask for help. my eqaution is simple but just sort of long. y"(x)=4-8(1-2/r)(1/r**3+1/r**2), here r=43.48arctan(0.05x-1.23)+41.1, The input of my program in Maple is: restart; sol:=dsolve({diff(y(x),x$2)=((1-2/(43.48*arctan(0.05*x-1.23)+41.1))((43.48*arctan(0.05*x-1.23)+41.1)^(-3)+(43.48*arctan(0.05*x-1.23)+41.1)^(-2))*8-4)*y(x),y(-2)=-0.65,y(40)=-0.11},y(x),numeric); Error, (in dsolve/numeric/process_input) input system must be an ODE system, got independent variables {1/(43.48*arctan(.5e-1*x-1.23)+41.1)^3+1/(43.48*arctan(.5e-1*x-1.23)+41.1)^2, x} or restart; with(DEtools): > diff_eq1:=D(D(y))(x)+(4-(1-2/(43.48*arctan(0.05*x-1.23)+41.1))((43.48*arctan(0.05*x-1.23)+41.1)^(-3)+(43.48*arctan(0.05*x-1.23)+41.1)^(-2))*8)*y(x): > bound_con:=y(-2)=-0.65,y(40)=-0.11: > solution:=dsolve({diff_eq1,bound_con},{y(x)},numeric): Error, (in dsolve/numeric/process_input) input system must be an ODE system, got independent variables {1/(43.48*arctan(.5e-1*x-1.23)+41.1)^3+1/(43.48*arctan(.5e-1*x-1.23)+41.1)^2, x} what is the proper program to solve the equation in Maple?

Please Wait...