Original Post
I'm trying to create a regression curve (ie: best fit curve) for stars' spectral class. There are 3 types (F,G,K) with each type having 10 subtypes. I know that: F type stars together = 10.344% G type stars together = 27.587% K type stars together = 62.069% I want to create a function (f(x)) such that: the integral, F(x) has the following properties, derived from the star percentages above: F(9)-F(0) = .10344 F(19)-F(10)=.27587 F(29)-F(20)=.62069 I don't know how to do it. I have a pretty high mathematics training, but I don't think I ever learned how to do the above. Ideally, the regression curve f(x) would be of the form a*b^x. If anyone can crunch the numbers, that'd be awesome. Thnx for your time.