Recent content by snelson989

  1. S

    White Dwarf Star Coupled Runge-Kutta

    thankyou, I assume that I need to define the fractions as floats or doubles. however I think that although the functions for f0 etc look different I have simply swapped a pow(x,-1) for explicitly doing that operation, although I may well be wrong I have changed many functions in an a ttempt to...
  2. S

    White Dwarf Star Coupled Runge-Kutta

    Homework Statement Use a coupled fourth order Runge-Kutta, to find the structure of white dwarf stars. I think I am applying the Runge-kutta method wrong? Variables defined in C code notes Homework Equations Equations in c code. and in attached images. The Attempt at a Solution This is...
  3. S

    How Does the 4th Order Runge-Kutta Method Solve Coupled First Order Linear ODEs?

    I just need to know the general form of the 4th order Runge-Kutta method? For two coupled first order linear ODEs. I can not find it specifically written online, I need it to write a program for the structure of white dwarfs stars, but I am okay with the Physics, just I have never used the...
Back
Top