2nd order DE for planet's density

  • Thread starter Thread starter dinospamoni
  • Start date Start date
  • Tags Tags
    2nd order Density
Click For Summary
SUMMARY

The discussion focuses on solving the second-order differential equation related to the density of a planet as a function of radius using the Lane-Emden equation. The equation presented is θ'' + (2/x)θ' + 1 = 0, where θ represents the density. The solution requires numerical methods implemented in Mathematica, with an emphasis on iteratively adjusting initial conditions to achieve the desired density profile, ensuring maximum density at the center (r = 0) and minimum density at the surface (r = R).

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with the Lane-Emden equation
  • Proficiency in using Mathematica for numerical solutions
  • Knowledge of boundary value problems in physics
NEXT STEPS
  • Study the Lane-Emden equation in detail
  • Learn how to implement numerical methods in Mathematica
  • Explore boundary value problem techniques in differential equations
  • Investigate the physical implications of density profiles in astrophysics
USEFUL FOR

Students and researchers in astrophysics, mathematicians working on differential equations, and anyone interested in modeling planetary density distributions.

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: 414
  • 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: 392
Physics news 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).
 

Similar threads

Replies
8
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K