answer.
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
Rudiy27
2 years ago
3

public void display() which displays the entries in a stack starting from the top. If the stack is empty, print "The stack is em

pty". Add the method to ArrrayStack2.java. You do not need to modify StackInterface.java.

Engineering
1 answer:
Kipish [7]2 years ago
4 0

Answer:

The solution to this question is attached

You might be interested in
Radioactive wastes are temporarily stored in a spherical container, the center of which is buried a distance of 10 m below the e
puteri [66]

Given:

outer radius, R' = 10 m

inner diameter, d = 2 m

inner radius, R = \frac{d}{2} = 1 m

surface temperature, T' = 20^{\circ}C

Thermal conductivity of soil, K = 0.52 W/mK

Solution:

To calculate the thermal temperature of conductor, T, we know amount of heat, Q is given by :

Q =  \frac{T - T'}{\frac{R' - R}{4\pi KRR'}}

500 =  (T - 20)\frac{4\pi \times0.52\times 1\times 10}{10 - 1}

T = 68.86 +20 = 88.865^{\circ}C  

Therefore, outside surface temperature is 88.865^{\circ}C  

4 0
2 years ago
Water at 200C flows through a pipe of 10 mm diameter pipe at 1 m/s. Is the flow Turbulent ? a. Yes b. No
Degger [83]

Answer:

Yes, the flow is turbulent.

Explanation:

Reynolds number gives the nature of flow. If he Reynolds number is less than 2000 then the flow is laminar else turbulent.

Given:

Diameter of pipe is 10mm.

Velocity of the pipe is 1m/s.

Temperature of water is 200°C.

The kinematic viscosity at temperature 200°C is 1.557\times10^{-7}m2/s.

Calculation:

Step1

Expression for Reynolds number is given as follows:

Re=\frac{vd}{\nu}

Here, v is velocity, \nu is kinematic viscosity, d is diameter and Re is Reynolds number.

Substitute the values in the above equation as follows:

Re=\frac{vd}{\nu}

Re=\frac{1\times(10mm)(\frac{1m}{1000mm})}{1.557\times10^{-7}}

Re=64226.07579

Thus, the Reynolds number is 64226.07579. This is greater than 2000.

Hence, the given flow is turbulent flow.

5 0
2 years ago
A person puts a few apples into the freezer at -15oC to cool them quickly for guests who are about to arrive. Initially, the app
frosja888 [35]

Answer:

Temperature at center of apples = 11.2⁰C

Temperature at surface of apples = 2.7⁰C

Amount of Heat transferred = 17.2kJ

Explanation:

The properties of apple are given as:

k = 0.418 W/m.°C

ρ = 840 kg/m³

Cр = 3.81 kJ/kg.°C

α = 1.3*10 ⁻⁷ m²/s

h = 8 W/m².°C

d = 0.09m

r = 0.045m

t = 1 hour = 3600s

<h2>Solution</h2>

Biot number is given as:

Bi = \frac{hr}{k}= \frac{8\cdot0.045}{0.418}=0.861

The constants λ₁ and A₁ corresponding to Biot number (from the table) are:

λ₁ = 1.476

A₁ = 1.239

Fourier Number is:

T = \frac{a\cdot{t}}{r^2} = \frac{(1.3\cdot10^{-7})(3600)}{0.045^2}= 0.231> 0.2

As Fourier Number > 0.2 , one term approximates solutions are applicable

The temperature at the center of apples, The temperature at surface of apples and Amount of heat transfer is found in the ATTACHMENT.

8 0
2 years ago
The legend that Benjamin Franklin flew a kite as a storm approached is only a legend—he was neither stupid nor suicidal. Suppose
Delicious77 [7]

Answer: 0.93 mA

Explanation:

In order to calculate the current passing through the water layer, as we have the potential difference between the ends of the string as a given, assuming that we can apply Ohm’s law, we need to calculate the resistance of the water layer.

We can express the resistance as follows:

R = ρ.L/A

In order to calculate the area A, we can assume that the string is a cylinder with a circular cross-section, so the Area of the water layer can be written as follows:

A= π(r22 – r12) = π( (0.0025)2-(0.002)2 ) m2 = 7.07 . 10-6 m2

Replacing by the values, we get R as follows:

R = 1.4 1010 Ω

Applying Ohm’s Law, and solving for the current I:

I = V/R = 130 106 V / 1.4 1010 Ω = 0.93 mA

7 0
2 years ago
3/63 A 2‐kg sphere S is being moved in a vertical plane by a robotic arm. When the angle θ is 30°, the angular velocity of the a
miss Akunina [59]

Answer:

Ps=19.62N

Explanation:

The detailed explanation of answer is given in attached files.

5 0
2 years ago
Other questions:
  • A petrol engine produces 20 hp using 35 kW of heat transfer from burning fuel. What is its thermal efficiency, and how much powe
    14·1 answer
  • A charge of 2.0 × 10–10 C is to be stored on each plate of a parallel-plate capacitor having an area of 650 mm2 (1.0 in.2 ) and
    14·1 answer
  • Problem 5) Water is pumped through a 60 m long, 0.3 m diameter pipe from a lower reservoir to a higher reservoir whose surface i
    13·1 answer
  • A 12-L volume of oil is subjected to a pressure change, which produces a volume strain on the oil of -3.0 × 10-4. The bulk modu
    6·1 answer
  • The rigid bar CDE is attached to a pin support at E and rests on the 30 mm diameter brass cylinder BD. A 22 mm diameter steel ro
    8·1 answer
  • If the current on your power supply exceeds 500 mA it can damage the supply. Suppose the supply is set for 37 V. What is the sma
    9·1 answer
  • A mass of 12 kg saturated refrigerant-134a vapor is contained in a piston-cylinder device at 240 kPa. Now 300 kJ of heat is tran
    8·1 answer
  • A fireboat is to fight fires at coastal areas by drawing seawater with a density of 1030 kg/m through a 20-cm-diameter pipe at a
    13·1 answer
  • "From the earth to the moon". In Jules Verne’s 1865 story with this title, three men went to the moon in a shell fired from a gi
    5·1 answer
  • What is the linear distance traveled in one revolution of a 36-inch wheel
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!