plot 2^x from x=-2 to 3