function [ int_est ] = sample_mean_integral( n,upts )

% see nutshell "Monte Carlo Integration" Section 6

% **note you should not call rand in your function**

xpts = ? upts; % create sample realization for random variable X as a transformation
% of the sample realization upts;
% recall that the input upts is a sample realization from the continuous
% uniform distribution over the interval (0,1);


y  = ?; % create sample realization for the random variable Y as a transformation
% of the sample realization xpts

int_est = ?; % calculate the relevant sample mean and scale your result appropriately


end

