In this paper, we have considered the fractional diffusion and fractional diffusion- wave equations in which the time derivative is a fractional derivative in the Caputo form and have obtained their numerical solutions by collocation method using cubic B-spline base functions. In the solution process, for the fractional diffusion equation L1 discretizaton formula of the fractional derivative is applied, and for the fractional diffusion-wave equation L2 discretizaton formula of the fractional derivative is applied. Accuracy of the proposed method is discussed by computing the error norms L2 and L∞ . A stability analysis of the approximation obtained by the scheme shows that the method is unconditionally stable.
 K. B. Oldham and J. Spanier, The Fractional Calculus, Academic, New York, 1974.
 I. Podlubny, Fractional Differential Equations, Academic Press, San Diego, 1999.
 F. Mainardi, Fractional Diffusive Waves in Viscoeslactic Solids., Non-linear Waves in Solids, J.L. Wegner and F.R. Norwood, eds., ASME/AMR, Fairfield, NJ, pp. 93-97, 1995.
 F. Mainardi and P.Paradisi, A Model of Diffusive Waves in Viscoelasticity Based on Fractional Calculus, Proceedings of the 36th Conference on Decision and Control, O.R. Gonzales, ed., San Diego, CA, pp. 4961-4966, 1997.
 A. A. Kilbas, H.M. Srivastava and J.J. Trujillo, Theory and Applications of Fractional Differential Equations, Elsevier, Amsterdam, 2006.
 S. S. Ray, Exact Solutions for Time-Fractional Diffusion-Wave Equations by Decomposition Method, Phys. Scr., 75, 53-61, 2007.
 O.P. Agrawal, Solution for a fractional diffusion-wave equation defined in a bounded domain, Nonlin. Dynam., 29 (2002) 145-155.
 H. Jafari and S.Momani, Solving fractional diffusion and waves equations by modifiying homotopy perturbation method, Phys. Lett. A, 370 (2007) 388-396.
 D.L. Logan, A First Course in the Finite Element Method (Fourth Edition), Thomson, 2007.
 H.G. Sun, W. Chen and K.Y. Sze, A semi-analytical finite element method for a class of time-fractional diffusion equations, arXiv: 1109.0641v1, [math-ph], 3 Sep 2011.
 J. Quintana-Murillo and S.B. Yuste, An Explicit Difference Method for solving Fractional Diffusion and Diffusion-Wave Equations in the Caputo Form, J. Comput. Non- linear Dynam. 6, (2011) 021014.
 N.H. Sweilam, M.M. Khader and A.M.S. Mahdy, Crank-Nicolson Finite Difference Method For Solving Time-Fractional Diffusion Equation, J. Fractional Calculus and Applications, 2 (2012)1-9.
 S. Monami and Z. Odibat, Analytical approach to linear fractional partial differential equations arising in fluid mechanics, Phys. Lett. A, 355(2006) 271-279.
 C. Ćelik and M. Duman, Crank-Nicolson method for the fractional diffusion equation with the Riesz fractional derivative, J. Comput. Phys., 231(2012) 1743-1750.
 C. Tadjeran, M.M. Meerschaert and H. Scheffler, A second-order accurate numerical approximation for the fractional diffusion equation, Journal of Computational Physics, 213 (2006) 205-213.
 Y. Lin and C. Xu, Finite difference/spectral approximations for the time-fractional diffusion equation, Journal of Computational Physics, 225 (2007) 1533-1552.
 V. Daftardar-Gejji and S. Bhalekar, Solving Fractional Diffusion-Wave Equations Using a New Iterative Method, Fractional Calculus and Applied Analysis, 2(2008) 193-202.
 M.M. Khader, On the numerical solutions for the fractional diffusion equation, Communications in Nonlinear Science and Numerical Simulation, doi: 10.1016/j.cnsns.2010.09.007
 M. Garg and P. Manohar, Numerical Solution of Fractional Diffusion-wave Equation with Two Space Variables by Matrix Method, Fractional Calculus and Applied Analaysis, 2 (2010) 191-207.
 W. Mitkowski, Approximation of Fractional Diffusion-Wave Equation, Acta Mechanica et Automatica, 5 (2011) 65-68.
 M.M. Khader, N.H. Sweliam and A.M.S. Mahdy, An efficient Numerical Method for Solving the Fractional Diffusion Equation, Journal of Applied Mathematics and Bioinformatics, 2 (2011) 1-12.
 E. Hanert, On the numerical solution of space-time fractional diffusion models, Computers and Fluids, 46 (2011) 33-39.
 M.H. Heydari, M.R. Hoosmandasi, F.M. Maalek Ghaini and C. Cattani, Wavelets method for the time fractional diffusion-wave equation, Physics Letters A 379 (2015) 71-76.
 P. M. Prenter, Splines and Variasyonel Methods, New York, John Wiley, 1975.