1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Y_Kistochka [10]
3 years ago
5

I gave 15 min to finish this java program

Engineering
1 answer:
lisov135 [29]3 years ago
4 0

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.

You might be interested in
Why might construction crews want to install pipes before the foundation is poured
Crazy boy [7]

The answer is choice C

Explanation:

As during construction ,the site is cleared for all debris before laying out the foundation. Even the sewer lines are dug out .

So it will be useful for the construction crews to  connect the pipes to the sewer lines before the foundation is poured.

But usually the steps take in construction activity is:- first the site is cleared for the foundation to be poured  and once the foundation wall is set , then all utilities , including plumbing and electrical activities are done.,

After this process is over, the city inspector comes to check whether the foundation has been laid down as per the code of construction.

Only after that the rest of the construction activity follows through.

3 0
4 years ago
Explain three (3) modes of heat transfer in air conditioning system.
LenKa [72]

Answer:

1. Conduction

2. Convection

3. Radiation

Explanation:

The 3 modes of heat transfer i an air conditioning system:

1. Conduction:

The transfer of heat by conduction  takes place in solid and is when the conduction takes place as a result of direct contact in between the interacting material which transfer the heat energy from particle to particle thus conducting the heat through out the system.

2. Convection:

The other mode for the transfer of heat which takes place especially in fluids - gases and liquids is through the technique of convection in which the transfer of heat takes place by the circular motion of the atoms and molecules of the fluid which carries the heat energy and results in the distribution of the heated fluid in the entire system thus transferring all the heat energy in the entire system.

3. Radiation:

The third mode of heat transfer in the air conditioning system is through radiation. This method transfers the heat by making use of the electro-magnetic radiation in the infra red spectrum where the waves of the spectrum transfers the heat energy with the help of a medium or without any medium at all.

Thus making the radiation method of heat transfer as the only method out of the three methods which does not require the material medium for the transfer of heat energy.

4 0
3 years ago
8. Two 40 ft long wires made of differing materials are supported from the ceiling of a testing laboratory. Wire (1) is made of
san4es73 [151]

Answer:

Material K has a modulus of elasticity E=3.389× 10¹¹ Pa

Material H has a modulus of elasticity E=1.009 × 10⁹ Pa

Material K has higher value of modulus of elasticity than material H

Material K is stiffer.

Explanation:

Wire 1 material H

Length=L = 40 ft =12.192 m

Diameter= 3/8 in = 0.009525 m

Area= A= πr²,where r=0.009525/2 =0.004763

A=3.142*0.004763² =0.00007126 m²

Force, F= 225 lb=  225*4.45 =1001.25 N

Change in length =Δ L= 0.10 in = 0.00254

To find modulus of elasticity apply'

E=F*L/A*ΔL

E=1001.25*12.192/(0.004763*0.00254)

E= 1009027923.58 Pa

E=1.009 × 10⁹ Pa

For Wire 2 material K

Length=L= 40 ft =12.192 m

Diameter = 3/16 in = 0.1875 in = 0.004763 m

Area= πr² = 3.142 * (0.004763/2)² = 0.00000567154 m²

Force, F= 225 lb=  225*4.45 =1001.25 N

Change in length =Δ L= 0.25 in =0.00635 m

To find modulus of elasticity apply'

E=F*L/A*ΔL

E= (1001.25*12.192)/(0.00000567154 * 0.00635 )

E=338955422575 Pa

E=3.389× 10¹¹ Pa

Material  K has a greater modulus of elasticity

The material with higher value of E is stiffer than that with low value of E.The stiffer material is K.

8 0
3 years ago
An escalator handles a steady load of 26 people per minute in elevating them from the first to the second floor through a vertic
photoshop1234 [79]

Answer:

\eta = 70.711\,\%

Explanation:

The power needed to make the escalator working is obtained by means of the Work-Energy Theorem:

\dot W  = \dot U_{g}

\dot W = \dot n \cdot m_{p}\cdot g \cdot \Delta y

\dot W = \left(26\,\frac{persons}{min}\right)\cdot (124\,lbm)\cdot \left(32.174\,\frac{ft}{s^{2}}\right)\cdot \left(\frac{1\,lbf}{32.174\,\frac{lbm\cdot ft}{s^{2}} } \right)\cdot (27.5\,ft)

\dot W = 88660\,\frac{lbf\cdot ft}{min}\,\left(2.687\,hp\right)

The mechanical efficiency of the escalator is:

\eta = \frac{2.687\,hp}{3.8\,hp}\times 100\,\%

\eta = 70.711\,\%

3 0
3 years ago
What is one thing a person should do to stay safe when exercising
elixir [45]
Staying hydrated at all times
7 0
3 years ago
Read 2 more answers
Other questions:
  • If you are sampling a 50Hz signal, what is the minimum sampling rate necessary to prevent aliasing?Why?
    7·1 answer
  • Practice Problem: Large-Particle CompositesThe mechanical properties of a metal may be improved by incorporating fine particles
    5·1 answer
  • For a steel alloy it has been determined that a carburizing heat treatment of 15 h duration will raise the carbon concentration
    5·1 answer
  • 10. The repair order is a legal document because
    7·1 answer
  • 5.5 A scraper with a 275 hp diesel engine will be used to excavate and haul earth for a highway project. An evaluation of the jo
    10·1 answer
  • A fan draws air from the atmosphere through a 0.30-mdiameter round duct that has a smoothly rounded entrance. A differential man
    14·1 answer
  • 6 A square silicon chip (k 150 W/m K) is of width w 5 mm on a side and of thickness t 1 mm. The chip is mounted in a substrate s
    9·1 answer
  • THIS IS NOT AN ACADEMIC QUESTION, but who was the bitter of 1987 in FNAF?
    6·2 answers
  • A smooth ceramic sphere (SG 5 2.6) is immersed in a fl ow of water at 208C and 25 cm/s. What is the sphere diameter if it is enc
    11·1 answer
  • Technician A says when you push the horn button, electromagnetism moves an iron bar inside the horn, which opens and closes cont
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!