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
Zanzabum
3 years ago
6

Write a Nested While Loop that will increment the '*' from 1 to 10.

Engineering
1 answer:
andrey2020 [161]3 years ago
8 0

Answer:

The program is as follows:

i = 1

while(i<11):

   j = 1

   while(j<=i):

       print('*', end = '')

       j += 1

   i += 1

   print()

Explanation:

Initialize i to 1

i = 1

The outer loop is repeated as long as i is less than 11

while(i<11):

Initialize j to 1

   j = 1

The inner loop is repeated as long as j is less than or equal i

   while(j<=i):

This prints a *

       print('*', end = '')

This increments j and ends the inner loop

       j += 1

This increments i

   i += 1

This prints a blank and ends the inner loop

   print()

You might be interested in
Modify the one-dimensional continuity equation to include rainfall over the free surface
KonstantinChe [14]

The rainfall run off model  HEC-HMS is combined with river routing model. They are used for simulating the rainfall process.

Explanation:

The HEC - HMS rainfall model is used for simulating the rainfall runoff process. In this study the soil conservation service and curve number method is used to calculate the sub basin loss in basin module.

It provides various options for providing the rainfall distributions in the basin. It has the control specification module used to control the time interval for the simulations.

The one dimensional continuity equation is

бA / бT + бQ / бx= 0

3 0
3 years ago
Retaining<br>Function of<br>Wall​
goblinko [34]

Answer:

A retaining of a wall is a protective structure, first and foremost.

Explanation:

Its main aim is to provide functional support for keeping soil in place. It acts as a wall to keep the soil on one side and the rest of the landscape area on the other, providing a platform for a garden to be created.

7 0
3 years ago
A 0.3 m3 rigid tank initially contains refrigerant-134a at 14°C. At this state, 55% of the mass is in the vapor phase, and the r
Oksanka [162]

Answer:

I am a girl want private photos

Explanation:

8 0
3 years ago
Water flows at a rate of 0.011 m3/s in a horizontal pipe whose diameter increases from 6 to 11 cm by an enlargement section. If
lakkis [162]

Answer:

Pressure change in pipe is 766.96 N/m²

Explanation:

The continuity equation is stated below,

AV = Q

A1V1 = A2V2

Where A is the cross-sectional area, V is the velocity and Q is the fluid flow rate.

To calculate the inlet velocity of the pipe,

V1 = Q/A1

V1 = Q/(π x d1²)

d1 is the inlet diameter of the pipe

Substituting values,

V1 = 0.011/(π x 1/4 x 0.06²)

V1 = 3.89 ms-¹

To determine the outlet velocity,

V2 = Q/A2

d2 is the outlet diameter of pipe

V2 = 0.011/(π x 1/4 x 0.11²)

V2 = 1.157 ms-²

Applying Bernoulli's equation for steady flow between the points,

P1/pg + a1(V1²/2g) + z1 + hp = P2/pg + a2(V2²/2g) + z2 + ht + hL

Collecting like terms,

The kinetic energy correction factor, a = a1 = a2

a((V1² - V2²)/2g) - hL = (P2 - P1)/pg

apg((V1² - V2²)/2g) - hLpg = P2 - P1

ap((V1² - V2²)/2) - hLpg = ∆P

p - density of water, g is the acceleration due to gravity and hL is the head loss due to friction in pipe.

Substituting values,

a = 1.05, p = 1000kg/m³, g = 9.81m/s², hL = 0.66m

∆P = (1000)(1.05)((3.89² - 1.157²)/2) - (0.66 x 1000 x 9.81)

∆P = 7241.56 - 6474.6

∆P = 766.96 N/m²

4 0
3 years ago
A very large plate is placed equidistant between two vertical walls. The 10-mm spacing between the plate and each wall is filled
Vikentia [17]

Answer:

Force per unit plate area is 0.1344 N/m^{2}

Solution:

As per the question:

The spacing between each wall and the plate, d = 10 mm = 0.01 m

Absolute viscosity of the liquid, \mu =1.92\times 10^{- 3} Pa-s

Speed, v = 35 mm/s = 0.035 m/s

Now,

Suppose the drag force that exist between each wall and plate is F and F' respectively:

Net Drag Force = F' + F''

F = \tau A

where

\tau = shear stress

A = Cross - sectional Area

Therefore,

Net Drag Force, F = (\tau ' +\tau '')A

\frac{F}{A} = \tau ' +\tau ''

Also

F = \frac{\mu v}{d}

where

\mu = dynamic coefficient of viscosity

Pressure, P = \frac{F}{A}

Therefore,

\frac{F}{A} = \frac{\mu v}{d} + \frac{\mu v}{d} = 2\frac{\mu v}{d}

\frac{F}{A} = 2\frac{1.92\times 10^{- 3}\times 0.035}{0.010} = 0.01344 N/m^{2}

8 0
3 years ago
Other questions:
  • ___________ is NOT a common injury that an automotive tech may experience at work.
    7·1 answer
  • A motor is mounted on a platform that is observed to vibrate excessively at an operating speed of 6000 rpm producing a 250-N for
    13·1 answer
  • Explain why failure of this garden hose occurred near its end and why the tear occurred along its length. Use numerical values t
    15·1 answer
  • A hole drilled into a manufactured part is specified to have a diameter of 1.50 cm. Ten parts are sampled from a production run.
    10·1 answer
  • 6. You are an electrician working in an industrial plant. You are building a motor control cabinet that contains six motor start
    6·1 answer
  • 1. Describe the basic principle of operation of a bipolar junction transistor including
    13·1 answer
  • Oil with a density of 850 kg/m3 and kinematic viscosity of 0.00062 m2/s is being discharged by an 8-mm-diameter, 42-m-long horiz
    9·1 answer
  • cubical tank 1 meter on each edge is filled with water at 20 degrees C. A cubical pure copper block 0.46 meters on each edge wit
    6·1 answer
  • H2O enters a conical nozzle, operates at a steady state, at 2 MPa, 300 oC, with the inlet velocity 30 m/s and the mass flow rate
    15·1 answer
  • What is the magnitude of the charge of an electron?​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!