import sk.uniba.fmph.pocprak.simplegraphics.*;
public class Pokus1 {

  public static void main(String[] args) {

    Killer.createKiller();

    Fourier.L=5;
    for(int i=1;i<5;i++){
      for(int j = 1;j<5;j++){
        Integrable f = new test(i,j);
        System.out.println(i+" "+j+"  "+Integral.Integrate(f,0,Fourier.L));
      }
    }
  }

  private static class test implements Integrable{
    int i;
    int j;
    public test(int i,int j){
      this.i=i; this.j=j;
    }
    public double fcn(double x) {
      // doplnte nasledujuci riadok tak, aby vzniknuty integral
      // testoval ortogonalitu Fourierovych sinusoviek
      // Vyuzite fakt, ze Fourierove sinusuvky su naprogramovane
      // v triede Fourier
      return ??????????????????????;

    }
  }

}
