How to Fit a graf?

Hello,

I have drawn the graf for P/E and want to fit it for the following function:

P/E = aE^2 + bE + c

and find out the constants a, b and c.

I am woundering how I can do this?

Thank You!

You will find many examples in:

$ROOTSYS/tutorials/

in this directory have a look at all the files: fit.C

I suppose what you call a “graf” is a TGraph.