Double_t W (Double_t x) { return 3*pow(x,2) - 1.5*x + 4.; } int macro_funcInline () { TCanvas c1 ("c1", "", 640, 480); TF1 f1 ("f1", "W(x)", -10., 10.); f1.Draw(); c1.Update(); cin.ignore(); return 0; }