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
Lunna [17]
3 years ago
3

Write three statements to print the first three elements of array runTimes. Follow each statement with a newline. Ex: If runTime

s[5] = {800, 775, 790, 805, 808}, print: 800 775 790
Engineering
1 answer:
Dmitry_Shevchenko [17]3 years ago
6 0

Answer:

runTimes = [800, 775, 790, 805, 808]

x = runTimes[0:3]

print(x)

Explanation:

The code is written in python . The question asked us to print the first elements of an array or list. The first three statement of a list can be printed by using the index of the list.

runTimes = [800, 775, 790, 805, 808]

This is the list or array containing elements .The variable runTimes is used to store the array or list.

x = runTimes[0:3]

The variable x is used to store the code, runTimes[0:3] . The code means the first three elements of the array or list. From index 0 to 3 .

print(x)

The print function is now used to display the first three elements of the array.

You might be interested in
The electron concentration in silicon at T = 300 K is given by
puteri [66]

Answer:

E=1.44*10^-7-2.6exp(\frac{-x}{18} )v/m

Explanation:

From the question we are told that:

Temperature of silicon T=300k

Electron concentration n(x)=10^{16}\exp (\frac{-x}{18})

                                        \frac{dn}{dx}=(10^{16} *(\frac{-1}{16})\exp\frac{-x}{16})

Electron diffusion coefficient is Dn = 25cm^2/s \approx 2.5*10^{-3}

Electron mobility is \mu n = 960 cm^2/V-s \approx0.096m/V

Electron current density Jn = -40 A/cm^2 \approx -40*10^{4}A/m^2

Generally the equation for the semiconductor is mathematically given by

Jn=qb_n\frac{dn}{dx}+nq \mu E

Therefore

-40*10^{4}=1.6*10^{-19} *(2.5*10^{-3})*(10^{16} *(\frac{-1}{16})\exp\frac{-x}{16})+(10^{16}\exp (\frac{-x}{18}))*1.6*10^{-19}*0.096* E

E=\frac{-2.5*10^-^7 exp(\frac{-x}{18})+40*10^{4}}{1.536*10^-4exp(\frac{-x}{18} )}

E=1.44*10^-7-2.6exp(\frac{-x}{18} )v/m

7 0
3 years ago
A solid cylindrical workpiece made of 304 stainless steel is 150 mm in diameter and 100 mm is high. It is reduced in height by 5
goblinko [34]

Answer:

45.3 MN

Explanation:

The forging force at the end of the stroke is given by

F = Y.π.r².[1 + (2μr/3h)]

The final height, h is given as h = 100/2

h = 50 mm

Next, we find the final radius by applying the volume constancy law

volumes before deformation = volumes after deformation

π * 75² * 2 * 100 = π * r² * 2 * 50

75² * 2 = r²

r² = 11250

r = √11250

r = 106 mm

E = In(100/50)

E = 0.69

From the graph flow, we find that Y = 1000 MPa, and thus, we apply the formula

F = Y.π.r².[1 + (2μr/3h)]

F = 1000 * 3.142 * 0.106² * [1 + (2 * 0.2 * 0.106/ 3 * 0.05)]

F = 35.3 * [1 + 0.2826]

F = 35.3 * 1.2826

F = 45.3 MN

7 0
3 years ago
A bird is flying in air. It is stretching its wings all along the sky and is flying in a certain direction Flying a bird is an e
guapka [62]

Answer:

a. Composition of Vector.

Explanation:

When a bird flies in the air, it stretches its wings into air and this movement helps it move in a certain direction. This is an example of composition of vector. Air strikes the wings in opposite direction and bird wing movement helps it move against the wind.

3 0
4 years ago
What is the focus of 7th grade civics
Jobisdone [24]
C. seems like the best answer. i may be wrong so don’t quote me on that
7 0
3 years ago
Read 2 more answers
A hollow aluminum alloy [G = 3,800 ksi] shaft having a length of 12 ft, an outside diameter of 4.50 in., and a wall thickness of
Lisa [10]

Answer:

Horse power = 167.84 hp

Explanation:

Horsepower is calculated using the formula;

P = T * w

See the attached file for the calculation

6 0
4 years ago
Other questions:
  • PLEASE HURRY TIMED TEST
    7·2 answers
  • Determine the angles made by the vector V = - 36i + 15j with the positive x- and y-axes. Write the unit vector n in the directio
    11·1 answer
  • A smoking lounge is to accommodate 13 heavy smokers. The minimum fresh air requirement for smoking lounges is specified to be 30
    12·1 answer
  • Believing that 70% of her body is composed of water, and 20% is composed of denser materials (bones, teeth, etc.) with a specifi
    5·1 answer
  • A water contains 50.40 mg/L as CaCO3 of carbon dioxide, 190.00 mg/L as CaCO3 of Ca2 and 55.00 mg/L as CaCO3 of Mg2 . All of the
    5·2 answers
  • Daniel Wiseman, a scientist for Gres-Trans Corp., wants to determine if the flow rate of a particular material changes with diff
    9·1 answer
  • Which of the following can effect LRO?
    12·1 answer
  • What is the function rule for the line? f(x)=−32x−2f(x)=−23x−2f(x)=32x−2f(x)=−32x+2A coordinate grid with x and y axis ranging f
    6·1 answer
  • State two reasons why industrial files must be always be used fitted upon the individual
    8·1 answer
  • Visual perception is a mental process that is non selective<br> True<br> False
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!