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
Ventajas motor avion
Sauron [17]

Answer:

Explanation:

Usar motores eléctricos en aviones ofrece numerosas ventajas reales. A diferencia de los motores de combustión interna los motores eléctricos no necesitan aire para funcionar, lo que significa que pueden mantener toda su capacidad y potencia incluso a altitudes elevadas donde el aire es más tenue.

4 0
2 years ago
Print reading for industry unit 9 review questions
RideAnS [48]
Hhhhhhhhhhhhhhh. High
4 0
3 years ago
Read 2 more answers
g The parameters of a certain transmission line operating at 휔휔=6 ×108 [rad/s] are 퐿퐿=0.35 [휇휇H/m], 퐶퐶=75 [pF/m], 퐺퐺=75 [휇휇S/m],
yKpoI14uk [10]

Explanation:

\begin{aligned}\gamma &=\sqrt{Z Y}=\sqrt{(R+j \omega L)(G+j \omega C)} \\&-\sqrt{|17|} j\left(6 \times 10^{8}\right)\left(0.35 \times 10^{-6}\right)|| 75 \times 10^{-6}\left|j\left(6 \times 10^{8}\right)\left(40 \times 10^{-12}\right)\right| \\&=0.094+j 2.25 \mathrm{m}^{-1}-\alpha+j \beta\end{aligned}

Therefore,

-\alpha-0.094 \mathrm{Np} / \mathrm{m} . \quad 3-2.25 \mathrm{rad} / \mathrm{m}, \text { and } \lambda-2 \pi / \beta-\underline{2.79} \mathrm{m}

Z_{0}-\sqrt{\frac{Z}{Y}}-\sqrt{\frac{R+j \omega L}{G+j \omega C}}-\sqrt{\frac{17+j 2.1 \times 10^{2}}{75 \times 10^{-6}+j 2.4 \times 10^{-2}}}-\frac{93.6-j 3.64 \Omega}{4}

5 0
3 years ago
A steel rod, which is free to move, has a length of 200 mm and a diameter of 20 mm at a temperature of 15oC. If the rod is heate
kherson [118]

Explanation:

thermal expansion ∝L = (δL/δT)÷L ----(1)

δL = L∝L + δT ----(2)

we have δL = 12.5x10⁻⁶

length l = 200mm

δT = 115°c - 15°c = 100°c

putting these values into equation 1, we have

δL = 200*12.5X10⁻⁶x100

= 0.25 MM

L₂ = L + δ L

= 200 + 0.25

L₂ = 200.25mm

12.5X10⁻⁶ *115-15 * 20

= 0.025

20 +0.025

D₂ = 20.025

as this rod undergoes free expansion at 115°c, the stress on this rod would be = 0

3 0
3 years ago
Briefly explain the term soil sampling and outline its importance in building engineering works.
Nataliya [291]

Answer:

For civil engineering, the importance is that you want to ensure that your construction is in a good sturdy location.

Explanation:

Im at UNCC as a civil engineering student

4 0
1 year ago
Other questions:
  • What are the causes of kickback on a table-saw?
    13·1 answer
  • A market research survey has 15 questions and will be sent to 500 people. What is the total cost to conduct survey if it has a $
    12·1 answer
  • 1. A copper block of volume 1 L is heat treated at 500ºC and now cooled in a 200-L oil bath initially at 20◦C. Assuming no heat
    10·1 answer
  • A very specific part of the population is called a
    6·1 answer
  • Which of the following is an example of seeking accreditation?
    7·1 answer
  • How much memory can a 32 -bit processor support ?
    13·1 answer
  • an 8 N weight is placed at one end of a meterstick. a 10N weight is placed at the other end. where should the fulcrum be placed
    12·1 answer
  • 8. If you push a 2000 N weight up a ramp with 400 N of force and you raise the weight 1 meter,
    9·1 answer
  • Whats the purpose of the keyway
    13·1 answer
  • It is important to follow correct procedures when running electrical cables next to data cables in order to protect against whic
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!