%theMap.m
function y = theMap(x)
%f = 3*x-x.^3; % <-----Define the mapping function here
               % Remember to use a period before the operator
               % if it is a multiplicaion, division, or exponent
    y = 3*x-x.^3;
end