taylor series for 1/2^x up to order 2