function b = laputru(p)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% function b = laputru(p)
% Compute a right-hand side function for the test problem.
% Dianne P. O'Leary 03/2006
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

b = cos(p(:,1)) + sin(p(:,2)) - 6*p(:,1).*p(:,2).^4 ...
    - 12*p(:,1).^3*p(:,2).^2;

