Calculate mixture density with sphere of radius 100 nanometer

I have a sphere of radius 100 nanometers. I am including a material that is a mixture of the following elements with given mass fractions:

{H2O, 5perCent},
{Air, 2
perCent},
{H, 3perCent},
{C, 9
perCent},
{N, 3perCent},
{O, 2
perCent},
{K, 26perCent},
{Na, 18
perCent},
{Ca, 15perCent},
{Mg, 10
perCent},
{S, 2perCent},
{P, 2
perCent},
{Si, 1perCent},
{Al, 1
perCent},
{Fe, 1*perCent}

My question is how should I calculate the density of this mixture since I need to specify that value as shown below

G4Material* mixture = new G4Material(name="myMixture ",density=???,ncomponents=14);
Air->AddElement(Air, fractionmass=2*perCent);
Air->AddElement(H, fractionmass=3*perCent);
... goes on

Dear @mayuraitavadekar
If you have the density of all the elements that make the mixture, the density is trivialy the wighted average of all the components of your mixture, assuming homgeneous fluid is the final state.

1 Like