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
The two types of outlets that are found in an electrical system are:______
Dmitry [639]

Answer:

a. lighting and receptacle outlets

Explanation:

The two types of outlets that are found in an electrical system are

a. lighting and receptacle outlets

Outlets allow electrical equipment to connect to the electrical grid. The electrical grid provides alternating current to the outlet.

3 0
3 years ago
You can safely place a jack on a floor pan to keep a vehicle steady.
Elis [28]

Answer: Yes

Explanation:

7 0
3 years ago
Read 2 more answers
Drag each item to show if it is an element or not an element.
Flauer [41]

Answer:

CARBON

Explanation:

HOPE THIS HELPS SORRY FOR CAPS

5 0
3 years ago
1). Mention any four operations that requires airlines. 2). Explain how airflow is applicable to the above mentioned operations.
vladimir2022 [97]

Answer:

Following are the answer to this question:

Explanation:

1)

Following the four operations in the airlines:

Landside operations:

In Airlines, the airports are divided into areas on the countryside and on the airside, in which landside region is available to the public, although strictly controlled access to the airside zone. Its area covers all areas of the airport across the aircraft, including parts of the buildings which can only be reached by customers and employees.

Airside Operations:

It's also committed to ensuring which air operations military exercises Ballarat airfields are safe and secure. It includes the provision of parking and flight escort services to itinerant and automates. Organizing operational response to incidents, accidents, or emergencies at the airport.

Billing and invoicing Operations:

This requires several steps, each of which must be performed with absolute accuracy to ensure that perhaps the airport operator is adequately paid for supplying passengers with all the services and infrastructure. After this, the receipts want to be produced and sent to customers on the airline.

Information management:

In this, it collects all the data about the customers and employees and it also helps in finding new routes and after collecting the data it processes on them.  

2)

It involves many activities in the airline, including dispatch, flight preparation, flight watch, weather information source, activities control, ground-to-air communications, and staff coordination, scheduling, and maintenance planning. Computing and expert programs are constantly being used to handle unpredictable activities.

4 0
3 years ago
.a. What size vessel holds 2 kg water at 80°C such that 70% is vapor? What are the pressure and internal energy? b. A 1.6 m3 ves
vesna_86 [32]

Answer:

Part a: The volume of vessel is 4.7680m^3 and total internal energy is 3680 kJ.

Part b: The quality of the mixture is 90.3%  or 0.903, temperature is 120 °C and total internal energy is 4660 kJ.

Explanation:

Part a:

As per given data

m=2 kg

T=80 °C =80+273=353 K

Dryness=70% vapour =0.7

<em>From the steam tables at 80 °C</em>

Specific volume of saturated vapours=v_g=3.40527 m^3/kg

Specific volume of saturated liquid=v_f=0.00102 m^3/kg

Now the relation  of total specific volume for a specific dryness value is given as

                                  v=v_f+x(v_g-v_f)

Substituting the values give

v=v_f+x(v_g-v_f)\\v=0.00102+0.7(3.40527-0.00102)\\v_f=2.38399 m^3/kg

Now the volume of vessel is given as

v=\frac{V}{m}\\V=v \times m\\V=2.38399 \times 2\\V=4.7680 m^3

So the volume of vessel is 4.7680m^3.

Similarly for T=80 and dryness ratio of 0.7 from the table of steam

Pressure=P=47.4 kPa

Specific internal energy is given as u=1840 kJ/kg

So the total internal energy is given as

u=\frac{U}{m}\\U=u \times m\\U=1840 \times 2\\U=3680 kJ

The total internal energy is 3680 kJ.

So the volume of vessel is 4.7680m^3 and total internal energy is 3680 kJ.

Part b

Volume of vessel is given as 1.6

mass is given as 2 kg

Pressure is given as 0.2 MPa or 200 kPa

Now the specific volume is given as

v=\frac{V}{m}\\v=\frac{1.6}{2}\\v=0.8 m^3/kg

So from steam tables for Pressure=200 kPa and specific volume as 0.8 gives

Temperature=T=120 °C

Quality=x=0.903 ≈ 90.3%

Specific internal energy =u=2330 kJ/kg

The total internal energy is given as

u=\frac{U}{m}\\U=u \times m\\U=2330 \times 2\\U=4660 kJ

So the quality of the mixture is 90.3%  or 0.903, temperature is 120 °C and total internal energy is 4660 kJ.

5 0
3 years ago
Other questions:
  • A Scalar can only be a positive quantity that has a magnitude but no direction ? a)-True b)-False
    5·1 answer
  • 7. A single-pole GFCI breaker is rated at
    9·1 answer
  • This just a question that I keep forgetting, are lightskin people black.??
    6·2 answers
  • Would you rather be fishing or hunting?
    13·2 answers
  • Drag each label to the correct location on the chart. Classify the organisms based on how they obtain food.
    14·2 answers
  • Resistance depends on which three properties of a wire?
    15·1 answer
  • (,,)=^3−^3+^3, where is the sphere ^2 + ^2 + ^2=^
    6·1 answer
  • Explain the S.A. co-ordinate system used in surveying
    9·1 answer
  • The locations and type of electrical device required on an architectural<br> plan are referred to as
    6·2 answers
  • Invent five new communication method wired or wireless you think would be practical
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!