Modify the trial function and find an approximation for the following boundary value problem. (Hint: you will need to add an extra term to the function to make it satisfy the boundary conditions.)
U,x - 2 = 0
U(0) = 1
U(1) = 0