for xi = 1:101
	x = (xi-1)/10;
	xv(xi) = x;
	if(x <= 1)
		px(xi) = -exp(-x)+1;
	else
		px(xi) = exp(-x+1)-exp(-x);
	end
end