Magnesium hydride is a compound.
The formula of the hydride formed with magnesium is MgH2.
MgI2 is also known as Magnesium Iodide. This is a molecule of magnesium that is bonded to two molecules of iodine.
The compound formula for silver hydride is AgH.
The molecular shape of a magnesium hydride molecule is linear. Magnesium has a +2 charge, while hydride has a -1 charge, resulting in a linear molecular shape.
A hydride is a compound formed between hydrogen and another element, typically a metal or a nonmetal. The number of atoms in a hydride depends on the specific compound; for example, in sodium hydride (NaH), there are two atoms (one sodium and one hydrogen). In general, the formula of a hydride can vary, so the total number of atoms will depend on the specific hydride being considered.
sodium hydride
Magnesium hydride, also known as MgH2, is a white, crystalline solid that is used as a hydrogen storage material. It can release hydrogen gas when heated, making it a promising candidate for fuel cell applications.
Nitrogen hydride, commonly known as ammonia (NH₃), is a compound. It consists of one nitrogen atom covalently bonded to three hydrogen atoms. As a compound, it has distinct chemical properties that differ from its constituent elements, nitrogen and hydrogen.
Beryllium hydride.
Sodium hydride is an ionic compound.
It may be Magnesium Tritide, Which is a form of Magnesium hydride, containing Radioactive hydrogen(or Tritium) in place of hydrogen. Its formula can also be written as Mg3H2
The compound SnH2 would be called either tin(II) hydride or stannous(II) hydride, but I'm not sure such a compound exists. The more common hydride of tin is tin(IV) hydride which is H2Sn, or SnH2.