3 public static void main(String args[]) {
4 String filename=args[0];
6 BufferedReader br=new BufferedReader(new FileReader(filename));
7 long vals[]=new long[1000];
10 while((nextline=br.readLine())!=null) {
12 int start=nextline.indexOf("TIME=")+5;
13 String num=nextline.substring(start, nextline.length());
14 v=Long.parseLong(num);
18 for(int i=0;i<numvals;i++) {
21 double ave=((double)sum)/numvals;
23 for(int i=0;i<numvals;i++) {
24 double delta=vals[i]-ave;
27 diff=diff/(numvals-1);
28 double std=Math.sqrt(diff);
29 double err=std/Math.sqrt(numvals);
31 System.out.println(ave);
33 System.out.println(err);
34 } catch (Exception e) {