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
xeze [42]
2 years ago
12

- if `check_1` and `check_2` variables are both True, it should set the value of a variable `outcome` to the string 'BOTH' - eli

f `check_1` is True and `check_2` is False, it should set the value of a variable `outcome` to the string 'ONE' - elif `check_1` is False and `check_2` is True, it should set the value of a variable `outcome` to the string 'TWO' - else (meaning both must be False), it should set the value of a variable `outcome` to the string 'NEITHER'
Engineering
1 answer:
tresset_1 [31]2 years ago
4 0

Answer:

See Explaination

Explanation:

if(check1 and check2):

outcome = "BOTH"

elif(check1):

outcome = "ONE"

elif(check2):

outcome = "TWO"

else:

outcome = "NEITHER"

You might be interested in
Wet steam at 15 bar is throttled adiabatically in a steady-flow process to 2 bar. The resulting stream has a temperature of 130°
cricket20 [7]

Answer:

\Delta s = 0.8708\,\frac{kJ}{kg\cdot K}

Explanation:

The adiabatic throttling process is modelled after the First Law of Thermodynamics:

m\cdot (h_{in} - h_{out}) = 0

h_{in} = h_{out}

Properties of water at inlet and outlet are obtained from steam tables:

State 1 - Inlet (Liquid-Vapor Mixture)

P = 1500\,kPa

T = 198.29\,^{\textdegree}C

h = 2726.9\,\frac{kJ}{kg}

s = 6.3068\,\frac{kJ}{kg\cdot K}

x = 0.967

State 2 - Outlet (Superheated Vapor)

P = 200\,kPa

T = 130\,^{\textdegree}C

h = 2726.9\,\frac{kJ}{kg}

s = 7.1776\,\frac{kJ}{kg\cdot K}

The change of entropy of the steam is derived of the Second Law of Thermodynamics:

\Delta s = 7.1776\,\frac{kJ}{kg\cdot K} - 6.3068\, \frac{kJ}{kg\cdot K}

\Delta s = 0.8708\,\frac{kJ}{kg\cdot K}

6 0
3 years ago
If the head loss in a 30 m of length of a 75-mm-diameter pipe is 7.6 m for a given flow rate of water, what is the total drag fo
Stolb23 [73]

Answer:

526.5 KN

Explanation:

The total head loss in a pipe is a sum of pressure head, kinetic energy head and potential energy head.

But the pipe is assumed to be horizontal and the velocity through the pipe is constant, Hence the head loss is just pressure head.

h = (P₁/ρg) - (P₂/ρg) = (P₁ - P₂)/ρg

where ρ = density of the fluid and g = acceleration due to gravity

h = ΔP/ρg

ΔP = ρgh = 1000 × 9.8 × 7.6 = 74480 Pa

Drag force over the length of the pipe = Dynamic pressure drop over the length of the pipe × Area of the pipe that the fluid is in contact with

Dynamic pressure drop over the length of the pipe = ΔP = 74480 Pa

Area of the pipe that the fluid is in contact with = 2πrL = 2π × (0.075/2) × 30 = 7.069 m²

Drag Force = 74480 × 7.069 = 526468.1 N = 526.5 KN

3 0
3 years ago
what is the method of the slope stabilization, and how many type of method of the stabilization, please help explain the types o
Alik [6]

Answer:

1.Plant Grass and Shrubs. Grass and shrubs are very effective at stopping soil erosion. ...

2.Use Erosion Control Blankets to Add 3.Vegetation to Slopes. ...

4.Build Terraces. ...

5.Create Diversions to Help Drainage

5 0
2 years ago
Plssssssssssssss Alexi is writing a program which prompts users to enter their age. Which function should she use?
aleksandr82 [10.1K]

Answer:

int()

Explanation:

float() is using decimals, so that can't be it, like float(input( "how much does this cost?"))

print() is used to print something, not a user asking, like print("hello")

string() means like a whole, like string( I am good)

By elimination, int() is correct.

Hope this helps!

7 0
2 years ago
Can you prove that the two bleu areas are the same without numbers please?
Svet_ta [14]

Answer:

\small{\boxed{\tt{\colorbox{green}{✓Verified\:answer}}}}\:

Just draw a line from point D join to point E

The triangle formed DME will be congruent to AMC

6 0
2 years ago
Other questions:
  • Select the properties and typical applications for the high carbon steels.
    12·1 answer
  • What is 100 kPa in psia?
    11·1 answer
  • 1- A square-wave inverter has a dc source of 96 V and an output frequency of 60 Hz. The load is a series RL load with R = 5 Ohm
    7·1 answer
  • At the end of a power distribution system, a certain feeder supplies three distribution transformer, each one supplying a group
    8·1 answer
  • python Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month an
    7·1 answer
  • Which factors influence changes in consumer demands? check all that apply
    8·2 answers
  • You are a technical writer for Landson Toy Company. Landson has just designed a new, more durable swing set for 6- to 10-year-ol
    9·1 answer
  • Describe what viscoelastic behavior means
    7·1 answer
  • DE QUE MANERA LA ALEGRIA NOS AYUDA A CONSEGIR AMIGOS <br> ≤→ω←≥
    10·1 answer
  • A student lives in an apartment with a floor area of 60 m2 and ceiling height of 1.8 m. The apartment has a fresh (outdoor) air
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!