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]
4 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]4 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
Compute the repeat unit molecular weight of PTFE. Also compute the number-average molecular weight for a PTFE for which the degr
MatroZZZ [7]

Answer:

a) the repeat unit molecular weight of PTFE MW = 100.015 g/mole

b) the number-average molecular weight for a PTFE for which the degree of polymerization is 10,000 щₙ = 1000150 g/mole

Explanation:

Given that;

PTFE which is also called Polytetrafluoroethylene

structure  of repeat unit of Polytetrafluoroethylene

(C2F4)n

a)

To compute the repeat unit molecular weight

we say

MW = 2( atomic weight of C ) + 4( atomic weight of F)

MW = 2 (12.0107) + 4 ( 18.9984)

MW = 100.015 g/mole

therefore the repeat unit molecular weight of PTFE MW = 100.015 g/mole

b)

To compute the number-average molecular weight for  PTFE of which the degree of polymerization is 10,000

we say

DP = щₙ / MW

where щₙ is the number of average molecular weight,

MW is the repeat unit molecular weight give as 100.015 g/mole

DP is degree of polymerization which is 10,000

Now we substitute

10,000 = щₙ / 100.015

щₙ = 10,000 × 100.015

щₙ = 1000150 g/mole

Therefore the number-average molecular weight for a PTFE for which the degree of polymerization is 10,000 щₙ = 1000150 g/mole

3 0
3 years ago
The average on a history exam (scored out of 100 points) was 85, with a standard deviation of 15. Is the distribution of the sco
Leviafan [203]

From the statement it is determined that the maximum limit is 100 and the lower limit is 0. At the same time there is an average of 85 that is closer to the upper limit than the lower limit, therefore the distribution will tend to occur to the left .

This will mean that people will begin to surround the average of 85 and that those who are 60, will be more than those who are below 50, and these 50 will be more than those who are by 40 and so on.

3 0
4 years ago
The activation energy for diffusion in BCC iron is 84 kJ/mol. Which of the following explains why the carbide precipitation acti
k0ka [10]

Answer:

  • B. Precipitation require the diffusional activation energy plus an additional energy to form the precipitate.

Explanation:

Precipitation is the creation of a solid from a solution. When the reaction occurs in a liquid solution, the solid formed is called the precipitate.

The formation of a precipitate indicates the occurrence of a chemical reaction.

Precipitation of carbide requires alot of energy which the diffusion activational energy alone cannot achieve and this was calculated to be 225.6 kJ/mol.

3 0
4 years ago
Niobium has a BCC crystal structure, an atomic radius of 0.143 nm and an atomic weight of 92.91 g/mol. Calculate the theoretical
Olin [163]

Answer:

The theoretical density for Niobium is 1.87 g/cm^3.

Explanation:

Formula used :  

\rho=\frac{Z\times M}{N_{A}\times a^{3}}

where,

\rho = density  of the unit cell

Z = number of atom in unit cell

M = atomic mass

(N_{A}) = Avogadro's number  

a = edge length of unit cell

We have :

Z = 2 (BCC)

M = 92.91 g/mol ( Niobium)

Atomic radius for niobium = r = 0.143 nm

Edge length of the unit cell = a

r = 0.866 a (BCC unit cell)

a=\frac{0.143 nm}{0.866}=0.165 nm=0.165 \times 10^{-7} cm

1 nm = 10^{-7} cm

On substituting all the given values , we will get the value of 'a'.

\rho=\frac{2\times 92.91}{6.022\times 10^{23} mol^{-1}\times (0.165 \times 10^{-7} cm)^{3}}

\rho =1.87 g/cm^3

The theoretical density for Niobium is 1.87 g/cm^3.

6 0
3 years ago
Read 2 more answers
Which type of work is an electrical engineer most likely to do?
IRISSAK [1]
I believe A is the answer: creat materials for electrical cables

Hope this helps you have a great day
5 0
3 years ago
Read 2 more answers
Other questions:
  • Determine the following for a south facing surface at 30� slope in
    9·1 answer
  • If the open circuit voltage of a circuit containing ideal sources and resistors is measured at 8 , while the current through the
    14·2 answers
  • A plate (A-C) is connected to steelflat bars by pinsat A and B. Member A-E consists of two 6mm by 25mm parallel flat bars. At C,
    10·1 answer
  • A "scale" is constructed with a 4-ft-long cord and the 10-lb block D. The cord is fixed to a pin at A and passes over two small
    14·1 answer
  • BlockPy: #43.1) Dictionaries vs. Tuples Create a dictionary to store the dimensions for a box. Then, create a tuple to store the
    9·1 answer
  • What does this middle button on the middle of my Chevrolet equinox steering wheel mean?
    12·2 answers
  • What is the condition for sampling frequency to reconstruct the information signal ?​
    8·1 answer
  • What percentage is 122 out of 222?
    5·2 answers
  • Which type of artificial intelligence (ai) can repeatedly perform tasks of limited scope?
    8·1 answer
  • Draw a circuit diagram connected in a reverse bias showing a p-n material and a battery
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!