B = \(\frac{1}{2}+\left(\frac{1}{2}\right)^2+\left(\frac{1}{2}\right)^3+...+\left(\frac{1}{2}\right)^{99}\)
B = \(\frac{1}{2}+\frac{1}{2^2}+\frac{1}{2^3}+...+\frac{1}{2^{99}}\)
2B = \(1+\frac{1}{2}+\frac{1}{2^2}+...+\frac{1}{2^{98}}\)
2B - B = \(1-\frac{1}{2^{99}}\)
=> B = \(1-\frac{1}{2^{99}}