I am trying to plot or draw function 1/sqrt((4/(x*x)) - 1), using the TF1 Class, it showed me the following error, I wonder how I can solve it.
I used this line in the root terminal, TF1 *fm = new TF1(“fm”,“1/sqrt(4/(x * x)-1)”,0,10); fm->Draw()
I also tried using TMath::Sqrt() but it also gave me the same error.
Warning in <TCanvas::ResizePad>: Inf/NaN propagated to the pad. Check drawn objects.
Warning in <TCanvas::ResizePad>: c1 height changed from 0 to 10
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided