halfpi=.5*pi;
rt2=sqrt(2);

if halfpi > rt2
    disp('pi/2 is bigger')
elseif halfpi < rt2
    disp('pi/2 is smaller')
elseif halfpi==rt2
    disp('pi/2 is sqrt(2)')
else
    disp('matlab has gone crazy')
end

   