function [c,x] = test_function(A,b) c = A*b; A = A^2; b = b.^2; x = A\b; % solving linear equations