Answer:
class TriangleNumbers
{
public static void main (String[] args)
{
for (int number = 1; number <= 10; ++number) {
int sum = 1;
System.out.print("1");
for (int summed = 2; summed <= number; ++summed) {
sum += summed;
System.out.print(" + " + Integer.toString(summed));
}
System.out.print(" = " + Integer.toString(sum) + '\n');
}
}
}
Explanation:
We need to run the code for each of the 10 lines. Each time we sum numbers from 1 to n. We start with 1, then add numbers from 2 to n (and print the operation). At the end, we always print the equals sign, the sum and a newline character.
Answer:
1)
2)
Explanation:
For isothermal process n =1
calculate pressure ratio to determine correction factor
correction factor for calculate dpressure ration for isothermal process is
c1 = 1.03
b) for adiabatic process
n =1.4
volume of hydraulic accumulator is given as
calculate pressure ratio to determine correction factor
correction factor for calculate dpressure ration for isothermal process is
c1 = 1.15
Answer:
The differences are listed below
Explanation:
The differences between consolidation and compaction are as follows:
In compaction the mechanical pressure is used to compress the soil. In consolidation, there is an application of stead pressure.
In compaction, there is a dynamic load by rapid mechanical methods like tamping, rolling, etc. In consolidation, there is static and sustained pressure applied for a long time.
In compaction, the soil volume is reduced by removing air from the void. In consolidation, the soil volume is reduced by squeezing out water from the pores.
Compaction is used for sandy soil, consolidation on the other hand, is used for clay soil.
Answer:
electrocution
Explanation:
You will end up getting shoked because the electricity is attracted to the water in your body.