Get zeros of a function

Hello,

I am looking for a routine to find the zeros of a TF1. I’ve seen that there exists TF1::GetMinimum() and TF1::DrawIntegral(), so in principle it should be possible to access the zeros of a function as the extrema of its primitive; then however I am not able to fetch the function corresponding to the primitive, which is drawn by DrawIntegral().

Is there a simple way to do this?

Thank you in advance

see : root.cern.ch/root/html/TF1.html#TF1:GetX

Rene

So simple. Thanks a lot Rene.