I'm trying to calculate the density of planets a bit more precise, than just treating it like an object of uniform density.
In order to do so, I went with Earth, as my convenient sample planet. Earth consists of several distinct 'layers', each with their own (average) density, that combine into an average density of for the entire planet of 5,507 kg/m³.
However, when working with the data as listed in the table below, I get a total average density of 6584.39 kg/m³ (= the sum of the last column), which is obviously incorrect.
|Layer||density (kg/m³)||thickness (km)||volume (km³)||volume (%)||Mass (kg)||? kg/m³|
|Oceanic crust (60%)||2,500||10||958,462||0.19%||2,396,155,549||4.69|
|Continental crust (40%)||2,500||35||2,240,810||0.44%||5,602,025,188||10.98|
Edit: added the Mass column.
So, the question is
what am I doing wrong?
Answer: My volume calculations were wrong. Fixed table for future reference:
|Density (kg/m³)||Thickness (km)||Volume (km³)||Volume (%)||Mass (kg)|
|Oceanic crust (60%)||2,500||10.349||3,149,560,997||0.29%||7,873,902,493,345|
|Continental crust (40%)||2,500||35.362||7,202,736,622||0.66%||18,006,841,555,992|