fail("*** Wwghts: 3-point weights fail on quadratic function");
}
Wwghts weight4 = new Wwghts(1.0/3.0,4,quad);
w4=weight4.weights();
// for (i=0;i<4;i++) System.out.printf(w4[i] << " ";
// System.out.printf(endl;
sum=0.0;
for (i=0;i<4;i++) sum += w4[i];