Hi, Try a*(x-const)**(1/2) to see what would happen! siguang On Tue, 16 Mar 2004, Falk Karstens wrote: > Dear Rooters! > > I have got the following problem with fitting a histogram. > I want to use an exponetial fit like a*(x-const)^b where a and b are fit > parameters. b is between 0 and 1. I couldn't see any result with such a > fit. I tried the following: > > (1) a*sqrt(x-const) > what worked fine, then I tried > > (2) a*(x-const)^(1/2) > what DOES NOT give a fit. > > Actually I don't see any mathematical difference between (1) and (2). > Where is my mistake? > > Yours > > Falk > > P.S.: I am running Root version 3.03/09 10 October 2002 > under i386_linux24 based on the SuSE 7.2. > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > + Falk Karstens + > + Abt. Prof. A. Bamberger/ Universit"at Freiburg + > + Zimmer 1d/148 + > + Tel. ++49 (0) 40 - 8998 3346 + > + Fax ++49 (0) 40 - 8998 3092 + > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > + Deutsches Elektronensynchrotron, DESY + > + Notkestr. 85 + > + D-22603 Hamburg, Germany + > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET