public
class
PlotCosine
extends
Plotter {
public
double
func(
double
x) {
return
Math.cos(x); } }