2nd order DE for planet's density

  • Thread starter Thread starter dinospamoni
  • Start date Start date
  • Tags Tags
    2nd order Density
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
1 replies · 1K views
dinospamoni
Messages
90
Reaction score
0

Homework Statement



I attached the problem because it's easier

Homework Equations





The Attempt at a Solution



The main problem I have with this problem is trying to find the density as a function of radius.
I have been thinking for hours but can't come up with anything.

What I have for the n=0 question:
for clarity, I'm just using x

θ''+(2/x)θ' +1 = 0

is my equation and I'm using mathematica to numerically solve it.
 

Attachments

  • Screen capture00000000000000000 2013-04-17 at 9.39.43 PM.JPG
    Screen capture00000000000000000 2013-04-17 at 9.39.43 PM.JPG
    85.3 KB · Views: 423
  • Screen capture00000000000000000 2013-04-17 at 9.39.50 PM.JPG
    Screen capture00000000000000000 2013-04-17 at 9.39.50 PM.JPG
    49.6 KB · Views: 400
on Phys.org
The variable theta is defined as the density of the body as a function of radius. Theta is not given explicitly in terms of r, but the values of theta are determined by solving the Lane-Emden ODE subject to the initial conditions specified in the text. As the text describes, the initial conditions themselves are not explicit, and the Lane-Emden equation must be solved in an iterative fashion while manipulating the initial conditions. Basically, follow the recipe given in the text and check the values of theta to see if they give a maximum value when r = 0 and a minimum value when r = R (the surface of the body).