use Java Common Math to calc Ci