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
When preparing a foundation for a heavy duty machine tool, discuss any four (4) statics machine characteristics to be considered
kozerog [31]

Answer:

1 ) Accuracy of the Machine Tool

2) Load bearing capacity

3) Linearity in the product line

4) Torque of the machine

Explanation:

we know that machine tool is the permanent essential in manufacturing industries

it is a machine use for different form like cutting , grinding and boring etc

so 1st is

1 ) Accuracy of the Machine Tool

we know it is very important Characteristic of the machine tool because when we use it in manufacturing unit Accuracy of the Machine Tool should be higher concern

2) Load bearing capacity

we should very careful about Load bearing capacity because how much amount of load tool will bear check by some parameter like creep , shear stress and strength etc

3) Linearity in the product line

Linearity in the product line mean that it should be group of related product produced by the any one of the manufacturer otherwise it will take time or it may be intermixing

4) Torque of the machine

we know that Torque is a rotational force or a turning force so amount of force multiplied by the distance of the operation

and we know torque per second give the power rating of machine tool

5 0
3 years ago
An irreversible heat pump and a Carnot heat pump operate between the same two thermal reservoirs. Which heat pump has higher COP
Shkiper50 [21]

Answer:

Carnot heat pump

Explanation:

Carnot heat pump is an ideal heat pump in which all processes are reversible and that consume minimum amount of work to and produces maximum amount of heating effect compare to all real engine.And that is why COP of Carnot heat pump is more as compare to real heat pump.

All real heat pump are not perfectly reversible heat pump So this is also called irreversible heat pump .Due to irreversibility the COP of  irreversible heat pump is always  less than the COP of  Carnot heat pump.

6 0
3 years ago
A person holds her hand out of an open car window while the car drives through still air at 65 mph. Under standard atmospheric c
Paraphin [41]

Answer:

10.8\ \text{lb/ft^2}

101.96\ \text{lb/ft}^2

Explanation:

v_1 = Velocity of car = 65 mph = 65\times \dfrac{5280}{3600}=95.33\ \text{ft/s}

\rho = Density of air = 0.00237\ \text{slug/ft}^3

v_2=0

P_1=0

h_1=h_2

From Bernoulli's law we have

P_1+\dfrac{1}{2}\rho v_1^2+h_1=P_2+\dfrac{1}{2}\rho v_2^2+h_2\\\Rightarrow P_2=\dfrac{1}{2}\rho v_1^2\\\Rightarrow P_2=\dfrac{1}{2}\times 0.00237\times 95.33^2\\\Rightarrow P_2=10.8\ \text{lb/ft^2}

The maximum pressure on the girl's hand is 10.8\ \text{lb/ft^2}

Now v_1 = 200 mph = 200\times \dfrac{5280}{3600}=293.33\ \text{ft/s}

P_2=\dfrac{1}{2}\rho v_1^2\\\Rightarrow P_2=\dfrac{1}{2}\times 0.00237\times 293.33^2\\\Rightarrow P_2=101.96\ \text{lb/ft}^2

The maximum pressure on the girl's hand is 101.96\ \text{lb/ft}^2

5 0
3 years ago
Explain what are rafters?
RSB [31]

Answer:

rafter is a structural component that is used as part of a roof construction. There are also different types of rafters

8 0
3 years ago
Name the seven physical qualities for which standards have been developed.
SIZIF [17.4K]

Answer:

HUMAN DEVELOPMENT

MOTOR BEHAVIOR

EXERCISE SCIENCE

MEASUREMENT AND EVALUATION

HISTORY AND PHILOSOPHY

UNIQUE ATTRIBUTES OF LEARNERS

CURRICULUM THEORY AND DEVELOPMENT

Explanation:

6 0
3 years ago
Other questions:
  • 10. An engineer is designing a total hip implant. She intends to make the femoral stem out of titanium because it forms a good i
    9·1 answer
  • Are front-end engineers starting to decline in China?
    14·1 answer
  • **Please Help, ASAP**
    6·1 answer
  • A spacecraft is fueled using hydrazine ​(N2H4​; molecular weight of 32 grams per mole​ [g/mol]) and carries 1 comma 630 kilogram
    12·1 answer
  • Question 3. Assign boston_under_10 and manila_under_10 to the percentage of rides that are less than 10 minutes in their respect
    14·1 answer
  • Determine the time required for a car to travel 1 km along a road if the car starts from rest, reaches a maximum speed at some i
    10·1 answer
  • Describing Tasks for Stationary Engineers Click this link to view O*NET’s Tasks section for Stationary Engineers. Note that comm
    12·2 answers
  • • Differentiate between laboratory and industrial reactors​
    11·1 answer
  • Select the correct text in the passage.
    6·2 answers
  • Who wanna learn C# for free tell me​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!