function [y1,T,y0] = prob6(t,y,jaco)
%
% [alpha,T,y0] = prob6
%
% or
%            f = prob6(t,y)
%
% or
%           f' = prob6(t,y,1)
%
% or
%            y = prob6(t)
%
% Problem 6 in:
%
%  L.Brugnano, G.Gurioli, F.Iavernaro, M.Vikerpuur. 
%  FDE-testset: comparing Matlab© codes for solving fractional
%  differential equations of Caputo type
%  Fractal Fract. 2025, 9(5), 312; https://doi.org/10.3390/fractalfract9050312
%
% 
alfa = 3/2;
if nargin==0    % problem data
    y1   = alfa;
    T    = 1;
    y0   = [-1;0];
elseif nargin==1 % solution
    y1   = t.^(1.9)-1;
elseif nargin==2 % vector field
    y1   = y.^2/2 -(t.^(1.9)-1).^2/2 +(gamma(2.9)/gamma(1.4))*t.^(0.4);
else             % Jacobian
    y1   = y; 
end
return

           