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
lbvjy [14]
3 years ago
10

Please write the following code in Python 3. Also please show all output(s) and share your code.

Engineering
1 answer:
maksim [4K]3 years ago
6 0

Answer:

sum2 = 0

counter = 0

lst = [65, 78, 21, 33]

while counter < len(lst):

   sum2 = sum2 + lst[counter]

   counter += 1

Explanation:

The counter variable is initialized to control the while loop and access the numbers in <em>lst</em>

While there are numbers in the <em>lst</em>,  loop through <em>lst</em>

Add the numbers in <em>lst</em> to the sum2

Increment <em>counter</em> by 1 after each iteration

You might be interested in
How can statistical analysis of a dataset inform a design process
Shtirlitz [24]

Answer:

Explanation:.

3 0
3 years ago
A right triangle has a base of 12 inches and a height of 30 inches, what is the centroid of the triangle?​
aliina [53]

Answer:

the correct answer is 42

4 0
2 years ago
Supercharging is the process of (a) Supplying the intake of an engine with air at a density greater than the density of the surr
iVinArrow [24]

Answer:

a)supplying the  intake of an engine  with air at a  density greater  than the density  of the surrounding  atmosphere

Explanation:

Supercharging  is the process of  supplying the  intake of an engine  with air at a  density greater  than the density  of the surrounding  atmosphere.

By doing this , it increases  the power out put  and increases the  brake thermal  efficiency of the  engine.It also  increases the  volumetric efficiency of the  engine.

So the our  option a is  right.

4 0
3 years ago
A fisherman tries to escape a flash flood by walking up the 10 degree hill. If the water is rising at 0.11 m/s, how fast must he
FromTheMoon [43]

10.5 mph I’m pretty sure so so sorry if I’m wrong

6 0
3 years ago
Read 2 more answers
A train starts from rest at station A and accelerates at 0.6 m/s^2 for 60 s. Afterwards it travels with a constant velocity for
Aleks [24]

Answer:

The distance between the station A and B will be:

x_{A-B}=55.620\: km  

Explanation:

Let's find the distance that the train traveled during 60 seconds.

x_{1}=x_{0}+v_{0}t+0.5at^{2}

We know that starts from rest (v(0)=0) and the acceleration is 0.6 m/s², so the distance will be:

x_{1}=\frac{1}{2}(0.6)(60)^{2}

x_{1}=1080\: m

Now, we need to find the distance after 25 min at a constant speed. To get it, we need to find the speed at the end of the first distance.

v_{1}=v_{0}+at

v_{1}=(0.6)(60)=36\: m/s

Then the second distance will be:

x_{2}=v_{1}*1500

x_{2}=(36)(1500)=54000\: m        

The final distance is calculated whit the decelerate value:

v_{f}^{2}=v_{1}^{2}-2ax_{3}

The final velocity is zero because it rests at station B. The initial velocity will be v(1).

0=36^{2}-2(1.2)x_{3}

x_{3}=\frac{36^{2}}{2(1.2)}  

x_{3}=540\: m

Therefore, the distance between the station A and B will be:

x_{A-B}=x_{1}+x_{2}+x_{3}  

x_{A-B}=1080+54000+540=55.620\: km  

I hope it helps you!

 

7 0
2 years ago
Other questions:
  • Does a thicker core make an electromagnet stronger?
    13·1 answer
  • Compare automation and autonomous
    12·1 answer
  • In order to avoid slipping in the shop, your footwear should __
    10·2 answers
  • em 4:A water jet strikes normal to a xedplate. If diameter of the outlet of the nozzle is 8 cm,and velocity of water at the outl
    9·1 answer
  • What are the equipment requirements for windshields and side windows?
    13·1 answer
  • A dual-fluid heat exchanger has 10 lbm/s water entering at 100 F, 20 psia and leaving at 50 F, 20 psia. The other fluid is glyco
    13·1 answer
  • A series of end-milling cuts is currently used to produce an aluminum part that is an aircraft component. The purpose of the mac
    14·1 answer
  • An agricultural manager requires
    12·1 answer
  • Problema sobre programacion orientada a objetos!!
    14·1 answer
  • Concerning the storage battery, what category of the primary sources is voltage produced?​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!