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.
The volume of 0.20 moles of helium at STP is 4.5 liters.
Explanation:
Given:
Number of moles = 0.20 moles
To Find:
The volume of Helium at STP =?
Solution:
According to ideal gas law
PV = nRT
where
P is pressure,
V is volume,
n is the number of moles
R is the gas constant, and
T is temperature in Kelvin.
The question already gives us the values for p and T
,because helium is at STP. This means that temperature is 273.15 K and pressure is 1 atm
.
We also already know the gas constant. In our case, we'll use the value of
0.08206 L atm/K mol since these units fit the units of our given values the best
On substituting these values we get



V = 4.5 Liters
The value of the given expression up to correct significant figures is
.
- The rule that applies for the multiplication and division is :
The least number of significant figures in any number of the problem determines the number of significant figures in the answer.
- The rule that applies for the addition and subtraction is :
The least precise number present after the decimal point determines the number of significant figures in the answer.
Given:
The expression: (23.4m)(14m)
To find:
The answer up to correct a number of significant figures.
Solution
Number of significant figures in '23.4' = 3
Number of significant figures in '14' = 22

The number with the least significant figures is '14' is 2, so the answer will be reported up to 2 significant figures:

Number of significant figures in '330' = 3
The value of the given expression up to correct significant figures is
.
Learn more about significant figures here:
brainly.com/question/11904364?referrer=searchResults
brainly.com/question/17177568?referrer=searchResults