Question: Solve ODE with BVP and parameters

1. nonlinear ODE with parameter "epsilon"

(x^n +epsilon*y(x))dy/dx + n*x^(n-1) * y(x) =m*x^(m-1) ; y(1)=b>1

where n=2,3,4,.. and m=0,1,2,3,...


2. Duffing equation with parameter "epsilon"

d^2 y(x)/dx^2 + y(x) + epsilon*y(x)^3=0 ; y(0)=A ; y'(0)=0


if i want epsilon=0.1 and x=0, 0.1, 0.2, ..,1

how do i write the command to solve it??


and how to create a plot to compare if i have the exact solution??


thanks in advance..

Please Wait...