Okie dokie, I searched the web and found L=M ^ 3.5 (luminosity equals mass to the power of 3.5). But, I'm pretty clueless on anything beyond Algebra I. How do I solve for M if I know L? [If the answer can be expressed in Visual Basic syntax, all the better.](adsbygoogle = window.adsbygoogle || []).push({});

I also read several caveats that said the above formula works best for main sequence stars. Does anyone know of better of formula for sub-dwarfs, dwarfs, giants, and super giants? I'm pulling my numbers from a sub-set of the Hipparcos data. So, from absolute magnitude, I can calculate luminosity, but I get stuck after that.

My goal is to calculate solar mass and plug that into Accrete so I can create a fictional but semi-realistic star atlas for hard sci-fi games.

Along a similar line, I've seen some sites that says Accrete is fairly dated as far as solar system modelling goes. Has anyone written a successor to Accrete that is available to the public?

--

TAZ

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Calculating solar mass using luminosity

**Physics Forums | Science Articles, Homework Help, Discussion**