Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes




result = mslife(mass)

This function returns the approximate main sequence lifetime as a function of stellar mass. It is valid only for stars >~ 1 Msolar

The equation used is t = 10^10 * M^-2.9

Return value

lifetime(mass), in years


mass in required

Stellar masses, in units of a solar mass. Scalar or vector

File attributes

Modifcation date: Sat Oct 2 23:33:41 2010
Lines: 30