The boundary-value problem
y = 4(y − x), 0 ≤ x ≤ 1, y(0) = 0, y(1) = 2
has the solution y(x) = e^2(e4 − 1)−1(e^2x − e−^2x) + x. Use the Linear Finite-Difference method to
approximate the solution, and compare the results to the actual solution.
a. With h = 1/2
b. With h = 1/4.