Solution to Problem II using Mathematica.

The problem to be solved is

This equation is easily solved in Mathematica. Enter the command

DSolve [ {y''[x]==­1+x^2, y[0]==0, y[1]==1} , y[x], x ]

The result is

The exact solution for y(0.5) is 0.5885416.