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...
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...
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...