You can use Runge-Kutta method to numerically solve the given differential equation. Here is the code for it:
main.m411 chars18 lines
This will give you a plot of the solution w(x) over the range of x from 0 to 1. You can adjust the range and initial conditions to suit your needs.
gistlibby LogSnag