function [val] = EulerRHS(x,y,findex)

switch findex
case 1
    
    val = (y+x.^2-2)/(x+1);
    
case 2
    
    val = -y.^2;
        
case 3

    val = (1+sin(x))/5*y-1/5;

end
