Double_t f1(double x) { return x+sin(x); } Double_t f2(double x) { return x+cos(x); } void f1f2() { TF2 *f = new TF2("f", "f1(x) * f2(y)", 0., 10., 0., 10.); f->Draw(); }