This functin does not give you the correct curve in MATHEMATICA
This is the analytic relation between fo, K and ku to find the zero manifold of the trace of R with MATHEMATICA
Comparison between exact and the second order approximation