Stellar structure equations in Matlab?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
ctcah
Messages
3
Reaction score
0
Does anyone have a Matlab file for solving the stellar structure equations that they wouldn't mind passing along? I'm trying to settle an argument with a friend that they can't really be used to describe nuetron stars and I don't have much programming experience.

Thanks,

Alex
 
Physics news on Phys.org
ctcah said:
Does anyone have a Matlab file for solving the stellar structure equations that they wouldn't mind passing along? I'm trying to settle an argument with a friend that they can't really be used to describe nuetron stars and I don't have much programming experience.

Thanks,

Alex

It's not clear how a Matlab file is going to settle your argument. If your friend doesn't understand how the structure of a neutron star differs from that of a conventional star, I don't think he will be swayed by the file.
 
SteamKing said:
It's not clear how a Matlab file is going to settle your argument. If your friend doesn't understand how the structure of a neutron star differs from that of a conventional star, I don't think he will be swayed by the file.

I just want something that can be used to give a numerical value for a given set of conditions and see how it differs from reality.
 
How do you plan on applying the stellar structure equations to a neutron star though? It's not like a neutron star has all the same input terms as a regular star, but a different result arises due to different physics. The input terms would all (almost all) be different. If you modify the equations enough, you might as well just model a neutron star. I don't see how a MATLAB file is going to help in this case either...
 
Nevermind, forget I asked anything.
 
You can write code for a "cold" neutron star. Take a look at the paper, "Astrophysical APL - Diamonds in the Sky," hosted at http://nicmosis.as.arizona.edu:8000/PUBLICATIONS/WHITEDWARF_TOTV.pdf. Although the paper is for a "cold" white dwarf, you'll need to use the equation of state for a degenerate neutron gas instead of a degenerate electron gas. An additional paper to loock at is "Structure of neutron stars with unified equations of state" hosted at http://arxiv.org/abs/1206.6922.

Hope this helps.