Some slides that might help
The next 2 questions have to do with a bisection process, which is very common in mathematical software. For example, the bisection method for finding a root of a function starts with an interval, [a, b], where f(a) and f(b) have different signs. It then computes the midpoint of the interval, c = (a+b)/2. It then replaces either aor b by c so that the signs of the new f(a) and f(b) b], which is either the left or right half of the previous interval, still brackets a root.I next 2 questions, assume B = 2 and p-24. are still different, thus guaranteeing that the new interval [a, n the 12. If a 1 and b 2, how many times can bisection occur before there are no floating-point numbers in the interval (a, b) (in other words, a and b are adjacent floating-point numbers)? 13. Similar to the previous question, how many times can bisection occur until the reduced interval contains 2 adjacent floating-point numbers if the initial values of the interval are a = 2000 and b = 2001? The next 2 questions have to do with a bisection process, which is very common in mathematical software. For example, the bisection method for finding a root of a function starts with an interval, [a, b], where f(a) and f(b) have different signs. It then computes the midpoint of the interval, c = (a+b)/2. It then replaces either aor b by c so that the signs of the new f(a) and f(b) b], which is either the left or right half of the previous interval, still brackets a root.I next 2 questions, assume B = 2 and p-24. are still different, thus guaranteeing that the new interval [a, n the 12. If a 1 and b 2, how many times can bisection occur before there are no floating-point numbers in the interval (a, b) (in other words, a and b are adjacent floating-point numbers)? 13. Similar to the previous question, how many times can bisection occur until the reduced interval contains 2 adjacent floating-point numbers if the initial values of the interval are a = 2000 and b = 2001