### Question:
SimplePluginBandwidth implements Bandwidth { public double value(){ return 1.06*sd.getResult()*Math.pow(sd.getN(),-0.2)*adjustmentFactor; } SimplePluginBandwidth(StandardDeviation sd);  SimplePluginBandwidth(StandardDeviation sd, double adjustmentFactor); double value(); double getAdjustmentFactor();  }### Answer:
@Test public void testValue() throws Exception { System.out.print("SimplePluginBandwidthTest: "); StandardDeviation sd = new StandardDeviation(); for(int i=0;i<x.length;i++){ sd.increment(x[i]); } SimplePluginBandwidth bw = new SimplePluginBandwidth(sd, 1.0); System.out.println(bw.value()); assertEquals("Reference bandwidth test", 6.09603513572289, bw.value(), 1.0e-10); }