import java.io.*;
class golden_search
{
public static void main (String args[]) throws java.io.IOException 
{  String f="x*x-2*x+1";
   System.out.println("optimization golden search search method = "+ez.golden_search(f,0.0,2.0));
}
}
