./
mslife.pro
topmslife
astrophysics
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
Parameters
- 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 |
![[attach.png]](idldoc-resources/attach.png)