Answer:
class sum (
public static void sumofvalue (int m, int n, int p)
{
System.out.println(m);
System.out.println(n);
System.out.println(p);
int SumValue=m+n+p;
System.out.println("Average="+Sumvalue/3);
}
)
Public class XYZ
(
public static void main(String [] args)
{
sum ob=new sum();
int X=3;
int X=4;
int X=5;
ob.sumofvalue(X,Y,Z);
int X=7;
int X=8;
int X=10;
ob.sumofvalue(X,Y,Z);
}
)
Explanation:
The above program is made in Java, in which first we have printed value in a separate line. After that, the average value of those three values has been printed according to the question.
The processing of the program is given below in detail
* The first one class named 'sum' has been created which contains the function to print individual value and the average of those three values.
* In seconds main class named 'XYZ', the object of that the above class had been created which call the method of the above class to perform functions.
* In the main class values are assigned to variables X, Y, Z.
Answer : The molecular weight of this compound is 891.10 g/mol
Explanation : Given,
Mass of compound = 12.70 g
Mass of ethanol = 216.5 g
Formula used :

where,
= change in freezing point
= temperature of pure ethanol = 
= temperature of solution = 
= freezing point constant of ethanol = 
i = van't hoff factor = 1 (for non-electrolyte)
m = molality
Now put all the given values in this formula, we get


Therefore, the molecular weight of this compound is 891.10 g/mol
Answer:
2Mg + O₂ ⟶ 2MgO
Explanation:
Step 1. Start with the most complicated-looking formula (O₂?).
Put a 1 in front of it.
Mg + 1O₂ ⟶ MgO
Step 2. Balance O.
We have fixed 2 O on the left. We need 2O on the right. Put a 2 in front of MgO.
Mg + 1O₂ ⟶ 2MgO
Step 3. Balance Mg.
We have fixed 2 Mg on the right-hand side. We need 2 Mg atoms on the left. Put a 2 in front of Mg.
2Mg + 1O₂ ⟶ 2MgO
Every formula now has a coefficient. The equation should be balanced. Let’s check.
<u>Atom</u> <u>On the left</u> <u>On the righ</u>t
Mg 2 2
O 2 2
All atoms are balanced.
The balanced equation is
2Mg + O₂ ⟶ 2MgO