Relationship between star size, temperature, and luminosity