In this article, two numerical techniques, namely, the homotopy perturbation
and the matrix approach methods have been proposed and implemented to
obtain an approximate solution of the linear fractional differential equation.
To test the effectiveness of these methods, two numerical examples with
known exact solution are illustrated. Numerical experiments show that the
accuracy of these methods is in a good agreement with the exact solution.
However, a comparison between these methods shows that the matrix approach
method provides more accurate results.