1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Differential equation simplification

  1. Dec 8, 2008 #1
    Hi guys! It's my first post here... I'm in a Computer Science degree, where courses dealing with differential equations are not mandatory (and I have therefore not completed any), and was asked to solve the following problem using the fourth-order Runge-Kutta method, coded in FORTRAN. I obviously have no difficulties with the latter, but I'm COMPLETELY CLUELESS about the mathematical juggling necessary to simplify the equation I will describe below. Any help will be greatly appreciated! :D

    1. The problem statement, all variables and given/known data
    It is known that all small bodies are attracted towards Earth due to gravitation. To solve the problem, you must simplify the following differential equation and obtain two first-order differential equations. Apply the formulas given by fourth-order Runge-Kutta to find speed y'(t) and position y(t). How long does it take the object to fall?

    2. Relevant equations

    The equation that describes the movement of an object falling towards Earth is

    [tex]\ddot{y}(t)=-g \frac{R^2}{y^2}[/tex],

    where g is gravitational acceleration, and R is the radius of the Earth.

    Take [tex]g=\frac{32}{5280}[/tex], [tex]R=4000[/tex] and [tex]H=200000[/tex] (H is the height from which the object will be dropped).

    3. The attempt at a solution
    I've tried to integrate both sides of the equation, but cannot obtain a polynomial expression needed to apply RK4.

  2. jcsd
  3. Dec 8, 2008 #2


    User Avatar
    Science Advisor
    Homework Helper

    If you need to split it into two first degree equations to apply a numerical method, then let w(t)=y'(t). Your two equations become w'(t)=-g*R^2/y^2 and, uh, y'(t)=w(t).
    Last edited: Dec 8, 2008
  4. Dec 8, 2008 #3
    Hahaha I can't believe the simplicity!! I had been trying some exponential stuff... with no result. Thank you very much. I'll try this and post back.
  5. Dec 9, 2008 #4


    User Avatar
    Staff Emeritus
    Science Advisor

    Now that you have two first order equations, run two Runge-Kutta solvers simultaneously, using the values from both at each step.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Differential equation simplification
  1. Differential Equation (Replies: 12)

  2. Differential Equations (Replies: 1)