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
charle [14.2K]
3 years ago
15

"Write a statement that outputs variable numItems. End with a newline. Program will be tested with different input values."

Engineering
1 answer:
kirill [66]3 years ago
6 0

Answer:

The solution code is written in Java.

System.out.println(numItems);

Explanation:

Java <em>println() </em>method can be used to display any string on the console terminal. We can use <em>println()</em> method to output the value held by variable <em>numItems.</em> The <em>numItems </em>is passed as the input parameter to <em>println()</em> and this will output the value of <em>numItems</em> to console terminal and at the same time the output with be ended with a newline automatically.  

You might be interested in
An op-amp is connected in an inverting configuration with R1 = 1kW and R2 = 10kW, and a load resistor connected at the output, R
Svetllana [295]

Answer:

View Image

Explanation:

You didn't provide me a picture of the opamp.

I'm gonna assume that this is an ideal opamp, therefore the input impedance can be assumed to be ∞ . This basically implies that...

  1. no current will go in the inverting(-) and noninverting(+) side of the opamp
  2. V₊ = V₋  , so whatever voltage is at the noninverting side will also be the voltage at the inverting side

Since no current is going into the + and - side of the opamp, then

i₁ = i₂

Since V₊ is connected to ground (0V) then V₋ must also be 0V.

V₊ = V₋  = 0

Use whatever method you want to solve for v_out and v_in then divide them. There's so many different ways of solving this circuit.

You didn't give me what the input voltage was so I can't give you the entire answer. I'll just give you the equations needed to plug in your values to get your answers.

8 0
4 years ago
Find the mass if the force is 18 N and the acceleration is 2 m/s2
Nana76 [90]

Explanation:

f = ma

m = f/a

= 18N / 2m/s2

= 9kg

5 0
3 years ago
Read 2 more answers
). A 50 mm diameter cylinder is subjected to an axial compressive load of 80 kN. The cylinder is partially
Delicious77 [7]

Answer:

\frac{e'_z}{e_z} = 0.87142

Explanation:

Given:-

- The diameter of the cylinder, d = 50 mm.

- The compressive load, F = 80 KN.

Solution:-

- We will form a 3-dimensional coordinate system. The z-direction is along the axial load, and x-y plane is categorized by lateral direction.

- Next we will write down principal strains ( εx, εy, εz ) in all three directions in terms of corresponding stresses ( σx, σy, σz ). The stress-strain relationships will be used for anisotropic material with poisson ratio ( ν ).

                          εx = - [ σx - ν( σy + σz ) ] / E

                          εy = - [ σy - ν( σx + σz ) ] / E

                          εz = - [ σz - ν( σy + σx ) ] / E

- First we will investigate the "no-restraint" case. That is cylinder to expand in lateral direction as usual and contract in compressive load direction. The stresses in the x-y plane are zero because there is " no-restraint" and the lateral expansion occurs only due to compressive load in axial direction. So σy= σx = 0, the 3-D stress - strain relationships can be simplified to:

                          εx =  [ ν*σz ] / E

                          εy = [ ν*σz ] / E

                          εz = - [ σz ] / E   .... Eq 1

- The "restraint" case is a bit tricky in the sense, that first: There is a restriction in the lateral expansion. Second: The restriction is partial in nature, such, that lateral expansion is not completely restrained but reduced to half.

- We will use the strains ( simplified expressions ) evaluated in " no-restraint case " and half them. So the new lateral strains ( εx', εy' ) would be:

                         εx' = - [ σx' - ν( σy' + σz ) ] / E = 0.5*εx

                         εx' = - [ σx' - ν( σy' + σz ) ] / E =  [ ν*σz ] / 2E

                         εy' = - [ σy' - ν( σx' + σz ) ] / E = 0.5*εy

                         εx' = - [ σy' - ν( σx' + σz ) ] / E =  [ ν*σz ] / 2E

- Now, we need to visualize the "enclosure". We see that the entire x-y plane and family of planes parallel to ( z = 0 - plane ) are enclosed by the well-fitted casing. However, the axial direction is free! So, in other words the reduction in lateral expansion has to be compensated by the axial direction. And that compensatory effect is governed by induced compressive stresses ( σx', σy' ) by the fitting on the cylinderical surface.

- We will use the relationhsips developed above and determine the induced compressive stresses ( σx', σy' ).

Note:  σx' = σy', The cylinder is radially enclosed around the entire surface.

Therefore,

                        - [ σx' - ν( σx'+ σz ) ] =  [ ν*σz ] / 2

                          σx' ( 1 - v ) = [ ν*σz ] / 2

                          σx' = σy' = [ ν*σz ] / [ 2*( 1 - v ) ]

- Now use the induced stresses in ( x-y ) plane and determine the new axial strain ( εz' ):

                           εz' = - [ σz - ν( σy' + σx' ) ] / E

                           εz' = - { σz - [ ν^2*σz ] / [ 1 - v ] } / E

                          εz' = - σz*{ 1 - [ ν^2 ] / [ 1 - v ] } / E  ... Eq2

- Now take the ratio of the axial strains determined in the second case ( Eq2 ) to the first case ( Eq1 ) as follows:

                            \frac{e'_z}{e_z} = \frac{- \frac{s_z}{E} * [ 1 - \frac{v^2}{1 - v} ]  }{-\frac{s_z}{E}}  \\\\\frac{e'_z}{e_z} = [ 1 - \frac{v^2}{1 - v} ] = [ 1 - \frac{0.3^2}{1 - 0.3} ] \\\\\frac{e'_z}{e_z} = 0.87142... Answer

5 0
3 years ago
all of the following are steps in the problem solving process except a. try, b. reflect, c. debug, d. define
IceJOKER [234]

Answer:

a

Explanation:

5 0
3 years ago
Select four items that an industrial engineer must obtain in order to practice in the field.
alex41 [277]

Answer:

Professional engineering license

Bachelor's degree

Computer science classes

job recommendations

3 0
2 years ago
Read 2 more answers
Other questions:
  • According to Manor, the example of the subway train in New York City is an example of which type of uniqueness?
    9·1 answer
  • A bar of 75 mm diameter is reduced to 73mm by a cutting tool while cutting orthogonally. If the mean length of the cut chip is 7
    10·1 answer
  • A furnace wall consisting of 0.25 m of fire clay brick, 0.20 m of kaolin, and a 0.10‐m outer layer of masonry brick is exposed t
    8·1 answer
  • A hydrogen-filled balloon to be used in high altitude atmosphere studies will eventually be 100 ft in diameter. At 150,000 ft, t
    7·1 answer
  • HELLO <br> Can you please Suggest me some FYP ideas <br> #Software_Engineering
    6·1 answer
  • Using the idea of mass and change of speed... could a bowling ball be thrown so fast that it has the same force as a car driving
    7·1 answer
  • A closed, rigid tank fitted with a paddle wheel contains 2.0 kg of air, initially at 200oC, 1 bar. During an interval of 10 minu
    8·1 answer
  • Who else hates this because i do
    12·2 answers
  • What is the most likely reason the rover won't travel in a straight line?
    9·1 answer
  • A segment of a roadway has a free flow speed of 45 mph and a jam density of 25 ft per vehicle. Determine the maximum flow and at
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!