Double_t W (Double_t x) {
  return 3*pow(x,2) - 1.5*x + 4.; 
}

int macro_giveW (double x) {
  cout << "W(x) = " << W(x) << endl;
  return 0;
}