45678910111213
import term02.m04_d27.functions.Function; public class BinarySearch { public static void main(String[] args) { Function f = new ExponentialFunction(); System.out.println(searchRoot(f, 1)); System.out.println(searchRoot(f, Math.E)); }