// linest_test.java

import com.finance.*;
import java.lang.*;

public class linest_test {
   double[] y = {1400, 920, 1100, 2265, 2890, 2200};
   double[] x = {2, 1, 3, 5, 5, 4};

   public linest_test() {
	   linest ln = new linest(x, y);
	   System.out.println("Slope = " + ln.Slope());
	   System.out.println("Y intercept = "+ ln.Intercept());
   }

   public static void main(String args[]) {
	   linest_test ret = new linest_test();
   }
}
