25.3. -99
-u''=f in (0,1) u(0)=u(1)=0, f(x)=10(1-10(x-0.5)2)e-5(x-0.5)2
-(a(x)u'(x))' = f(x), 0 < x < 1 Dirichlet- or Neumann- or combination bdary cond.Make your program handle all combinatios of Dirichlet/Neumann (homog. or non- homog.) (even Robin if you wish) conditions. Also let your mesh be any (increasing) sequence of points on [0,1]. Use numerical integration (Trapezoidal rule or Gaussian mid-point rule) in assembling the RHS. The quadrature rule should be at least the same order as the error behaviour of the method without numerical quadrature, we expect the error to be the same order as in linear interpolation, that is
O(h2)