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
A 20-cm-long rod with a diameter of 0.250 cm is loaded with a 5500 N weight. If the diameter decreases to 0.210 cm, determine th
ss7ja [257]

Answer:

1561.84 MPa

Explanation:

L=20 cm

d1=0.21 cm

d2=0.25 cm

F=5500 N

a) σ= F/A1= 5000/(π/4×(0.0025)^2)= 1018.5916 MPa

lateral strain= Δd/d1= (0.0021-0.0025)/0.0025= -0.16

longitudinal strain (ε_l)= -lateral strain/ν = -(-0.16)/0.3

(assuming a poisson's ration of  0.3)

ε_l =0.16/0.3 = 0.5333

b) σ_true= σ(1+ ε_l)= 1018.5916( 1+0.5333)

σ_true = 1561.84 MPa

ε_true = ln( 1+ε_l)= ln(1+0.5333)

ε_true= 0.4274222

The engineering stress on the rod when it is loaded with a 5500 N weight is 1561.84 MPa.

7 0
3 years ago
List and briefly describe two modern's materials needs
Angelina_Jolie [31]

Answer:

Modern and smart materials for making the products are improved by developing new materials and find new uses for the existing. As, modern industrialization society is increased demand and quality of the product.

Two modern's materials are:

Carbon Fiber: As, carbon fiber is a strong material and it is light in weight. Designers used it because it is five times strong as steel and two times as stiff. Carbon fiber is basically made out of very thin strands of carbon.

Fiber Optics: It is a new technology as, it is used as transparent solid to transmitted light signals.

4 0
3 years ago
Who is responsible for keeping your facility in compliance <br>​
inessss [21]
<h2>Answer:</h2><h2>The safety manager is usually the person responsible for ensuring whether the company is in compliance with the OSHA employer requirements . These type of requirements include; Fatal accidents that result in the hospitalisation of three or more employees,must be reported to the OSHA nearest office within 8 hours.</h2>

4 0
3 years ago
The function below takes a two parameters: a list called a_list and a value called a_value. Complete the function to first check
Alik [6]

Explanation:

def checklist(a_list, a_value):// def //used to name a function, the //arguments being passed into the //functions are a_list and a_value

if a_value in list://if statement to

//check if it's in the list or not

print("")//print statement to do

//nothing

else://else statement for if the

//a_value is in a_list

a_list.append(a_value)//this adds

//the value to the list

5 0
3 years ago
Provide three examples of things engineers can implement when designing environmentally sustainable projects.
Dafna1 [17]
Water supply.
Food production.
Housing and shelter.
Sanitation and waste management.
Energy development.
Transportation.
6 0
2 years ago
Read 2 more answers
Other questions:
  • Technician A says a basic circuit problem can be caused by something in the circuit that increases voltage. Technician B says a
    8·1 answer
  • How many types of residential circuits are There <br> A. 4<br> B. 3<br> C. 5<br> D. 7
    11·2 answers
  • Please explain the theory of Hydrostatic Thrust on a plane Surface
    14·2 answers
  • A company buys a machine for $12,000, which it agrees to pay for in five equal annual payments, beginning one year after the dat
    13·1 answer
  • What's the best way to find the load capacity of a crane? Select the best option. Call the manufacturer Ask co-workers Look at t
    8·1 answer
  • It is the tool used to measure the amount of electric current​
    6·2 answers
  • What is the friction factor for fully developed flow in a circular pipe where Reynolds number is 1000
    6·1 answer
  • Cho biết tác dụng chung của các hệ giằng khung ngang nhà công nghiệp nhẹ 1 tầng 1 nhịp.
    13·1 answer
  • Shielding gases are used to protect the molten metal from what?
    13·1 answer
  • How many watts are consumed in a circuit having a power factor of 0. 2 if the input is 100 vac at 4 amperes?.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!