answer.
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
lozanna [386]
2 years ago
15

What does the following program segment do? Declare Count As Integer Declare Sum As Integer Set Sum = 0 For (Count = 1; Count &l

t; 50; Count++) Set Sum = Sum + Count End For
Engineering
1 answer:
Troyanec [42]2 years ago
6 0

1225

<u>Explanation:</u>

This segment helps initialize sum as 0. The for loop is used to increment with every execution and it is added to the sum. The loop runs 49 times and every time the count is added to the sum. In short it is the sum of first 49 natural numbers i.e 1+2+3+......+49.

You might be interested in
Air at 40°C flows over a long, 25-mm-diameter cylinder with an embedded electrical heater. In a series of tests, measurements we
Murljashka [212]

Answer:

a) See attachment

b) C = 21.626 W / m^2 .K , n = 0.593

Explanation:

a)

dT = 300 - 40 = 160 K

A = pi*D*l where D = 0.025 m

Power = P' * l = h * dT * A

P' l = h * pi * D * l* dT

Hence,

h = P' / (pi*D*dT)

We will use the above equation to compute for respective values of P'

Note: The results are tabulated and attached

b)

Assuming the dependence of the convection coefficient on the velocity to be of the form h=CV^n, determine the parameters C and n from the results of part (a).

Taking logarithm on both sides:

Ln (h) = Ln(C) + n*Ln(V)

n = (Ln(h2) - Ln(h1)) / (Ln(V2) - Ln(V1))

n = (Ln (32.223/22.037)) / Ln(2))

n = 0.593

Using regression we can compare:

C = 21.626 W/m^2 . K

7 0
2 years ago
The function below takes a single string parameter: input_string. If the input contains the lowercase letter z, return the strin
Whitepunk [10]

Answer:

# string_contains function is defined with input_string

# as arguments

def string_contains(input_string):

   # if-statement that check if letter z is in input_string

   if 'z' in input_string:

       # it print"has the letter z" if it has z

       print("has the letter z")

   else:

       # else it print "not worthwhile"

       print("not worthwhile")

       

# string_contains function is called

string_contains("The animal is zebra")        

string_contains("learning is fun")

Explanation:

The code is written in Python and well commented.

Image of the output when the function is called is attached.

4 0
2 years ago
Vehicles arrive at a single toll booth beginning at 8:00 A.M. They arrive and depart according to a uniform deterministic distri
jok3333 [9.3K]

Answer:

Explanation:

answers attached bellow

6 0
2 years ago
A soil element is subjected to a minor principle stress of 50 kPa on a plane rotated 20 ° counterclockwise from vertical. If the
Bad White [126]

Answer:

=>> 167.3 kpa.

=>> 60° from horizontal face.

Explanation:

So, we are given the following data or parameters or information which is going to assist us in solving this kind of question;

=>> "A soil element is subjected to a minor principle stress of 50 kPa on a plane rotated 20 ° counterclockwise from vertical. "

=>>"If the deviator stress is 120 kPa and the shear strength parameters are a friction angle of 30° and a cohesion of 5 kPa."

The orientation of this plane with respect to the major principle stress plane = 50 tan^2 (45 + 30/2) + 10 tan ( 45 + 30/2).

magnitude of the stresses on the failure plane = 167.3 kpa.

The orientation of this plane with respect to the major principle stress plane => x = 60 cos 60° = 30kpa.

y = 60 sin 60° = 30√3 = sheer stress.

the orientation of this plane with respect to the major principle stress plane.

Theta = 45 + 15 = 60°.

5 0
2 years ago
Q4. What happen when a steady potential is connected across the end points of the [3] conductor? Illustrate with an example.
den301095 [7]

Answer: Flow of current and the resistance to the flow of the current.

Explanation:

When a steady potential is connected across the end points of the conductor, there will be a of current through the conductor and the internal resistance in the conductor will tend to resist the flow of the current

A good example is a simple circuit comprises of a battery, wires and a touch bulb.

When the battery is connected to the two ends of the torch bulb, current flow through and the bulb is lit up.

4 0
2 years ago
Other questions:
  • A gas metal arc welder is also known as a _____ welder.
    5·1 answer
  • Define a) Principal Plane b) Principal Stress c) anelasticity d) yield point e) ultimate tensile stress f) hardness g) toughness
    5·1 answer
  • Some states have osha programs, but you should always defer to the federal program.
    8·2 answers
  • The critical resolved shear stress for iron is 27 MPa (4000 psi). Determine the maximum possible yield strength for a single cry
    12·1 answer
  • An uninsulated, thin-walled pipe of 100-mm diameter is used to transport water to equipment that operates outdoors and uses the
    9·1 answer
  • Two AISI 304 stainless steel plates 10 mm thick are subjected to a contact pressure of 1 bar under vacuum conditions for which t
    9·1 answer
  • A gas pressure difference is applied to the legs of a U-tube manometer filled with a liquid with specific gravity of 1.7. The ma
    15·2 answers
  • An inventor claims to have developed an engine that does not use fuel but operates as a power cycle at steady state while receiv
    10·2 answers
  • Complete the following sentence.
    5·1 answer
  • The typical Canadian worker is able to produce 100 board feet (a unit of measure) of lumber or 1000 light bulbs per year. The wo
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!