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
zavuch27 [327]
3 years ago
9

The following program includes fictional sets of the top 10 male and female baby names for the current year. Write a program tha

t creates: A set all_names that contains all of the top 10 male and all of the top 10 female names. A set neutral_names that contains only names found in both male_names and female_names. A set specific_names that contains only gender specific names. Sample output for all_names: {'Michael', 'Henry', 'Jayden', 'Bailey', 'Lucas', 'Chuck', 'Aiden', 'Khloe', 'Elizabeth', 'Maria', 'Veronica', 'Meghan', 'John', 'Samuel', 'Britney', 'Charlie', 'Kim'}

Engineering
2 answers:
yuradex [85]3 years ago
4 0

Answer:

Please see attachment

Explanation:

Please see attachment

otez555 [7]3 years ago
3 0

Answer:

Define Variables and Use List methods to do the following

Explanation:

#<em>Conjoins two lists together</em>

all_names = male_names.union(female_names)

#<em>Finds the names that appear in both lists, just returns those</em>

neutral_names = male_names.intersection(female_names)

#<em>Returns names that are NOT in both lists</em>

specific_names = male_names.symmetric_difference(female_names)

You might be interested in
Write a SELECT statement that returns the same result set as this SELECT statement. Substitute a subquery in a WHERE clause for
sergiy2304 [10]

Answer:

SELECT distinct VendorName FROM Vendors

WHERE VendorID IN (

SELECT VendorID FROM Invoices

)

Explanation:

6 0
3 years ago
What are the searching algorithms used by search engines?
Juliette [100K]
Search engines use specific algorithms based on their data size and structure to produce a return value.
Linear Search Algorithm. ...
Binary Search Algorithm. ...
Relevancy. ...
Individual Factors. ...
Off-Page Factors.
6 0
3 years ago
Briefly discuss if it would be better to operate with pumps in parallel or series and how your answer would change as the steepn
Aleksandr [31]

Answer:

1) In series, the combined head will move from point 1 to point 2 in theory. However, practically speaking, the combined head and flow rate will move along the system curve to point 3.

2) In parallel, the combined head and volume flow will move along the system curve from point 1 to point 3.

Explanation:

1) Pump in series:

When two or more pumps are connected in series, their resulting pump performance curve will be obtained by adding their respective heads at the same flow rate as shown in the first diagram attached.

In the first diagram, we have 3 curves namely:

- system curve

- single pump curve

- 2 pump in series curve

Also, we have points labeled 1, 2 and 3.

- Point 1 represents the point that the system operates with one pump running.

- Point 2 represents the point where the head of two identical pumps connected in series is twice the head of a single pump flowing at the same rate.

- Point 3 is the point where the system is operating when both pumps are running.

Now, since the flowrate is constant, the combined head will move from point 1 to point 2 in theory. However, practically speaking, the combined head and flow rate will move along the system curve to point 3.

2) Pump in parallel:

When two or more pumps are connected in parallel, their resulting pump performance curve will be obtained by adding their respective flow rates at same head as shown in the second diagram attached.

In the second diagram, we have 3 curves namely:

- system curve

- single pump curve

- 2 pump in series curve

Also, we have points labeled 1, 2 and 3

- Point 1 represents the point that the system operates with one pump running.

- Point 2 represents the point where the flow rate of two identical pumps connected in series is twice the flow rate of a single pump.

- Point 3 is the point where the system is operating when both pumps are running.

In this case, the combined head and volume flow will move along the system curve from point 1 to point 3.

5 0
3 years ago
A 20-mm-diameter steel bar is to be used as a torsion spring. If the torsional stress in the bar is not to exceed 110 MPa when o
ch4aika [34]

Answer:

1.887 m

Explanation:

(15 *pi)/180

= 0.2618 rad

Polar moment

= Pi*d⁴/32

= (22/7*20⁴)/32

= 15707.96

Torque on shaft

= ((22/7)*20³*110)/16

= 172857.14

= 172.8nm

Shear modulus

G = 79.3

L = Gjθ/T

= 79.3x10⁹x(1.571*10^-8)x0.2618/172.8

= 1.887 m

The length of the bar is therefore 1.887 meters

5 0
3 years ago
If the maximum allowable shear stress is 70 MPa, find the shaft diameter needed to transmit 40 kW when the shaft speed is 250 rp
victus00 [196]

Answer:

The diameter is 50mm

Explanation:

The answer is in two stages. At first the torque (or twisting moment) acting on the shaft and needed to transmit the power needs to be calculated. Then the diameter of the shaft can be obtained using another equation that involves the torque obtained above.

T=(P×60)/(2×pi×N)

T is the Torque

P is the the power to be transmitted by the shaft; 40kW or 40×10³W

pi=3.142

N is the speed of the shaft; 250rpm

T=(40×10³×60)/(2×3.142×250)

T=1527.689Nm

Diameter of a shaft can be obtained from the formula

T=(pi × SS ×d³)/16

Where

SS is the allowable shear stress; 70MPa or 70×10⁶Pa

d is the diameter of the shaft

Making d the subject of the formula

d= cubroot[(T×16)/(pi×SS)]

d=cubroot[(1527.689×16)/(3.142×70×10⁶)]

d=0.04808m or 48.1mm approx 50mm

7 0
4 years ago
Other questions:
  • Consider a steam turbine, with inflow at 500oC and 7.9 MPa. The machine has a total-to-static efficiency ofηts=0.91, and the pre
    14·1 answer
  • Determine displacement (in) of a 1.37 in diameter steel bar, which is 50 ft long under a force of 27,865 lb if elasticity modulu
    5·1 answer
  • A square isothermal chip is of width w = 5 mm on a side and is mounted in a substrate such that its side and back surfaces are w
    7·1 answer
  • What are the desired characteristics or values for the following parameters of an ideal amplifier?o Phase change as a function o
    10·1 answer
  • Why is oil black and why does oil look black
    10·1 answer
  • It is the tool used to measure the amount of electric current​
    6·2 answers
  • Problema sobre programacion orientada a objetos!!
    14·1 answer
  • What is the primary difference between the process of lost-wax casting as practiced in ancient times and that same process today
    13·1 answer
  • If an object has the same number of positive and negative charges, its electrical charge is
    12·1 answer
  • When converting liquid level units to sensor output signal units, you should first convert the liquid level units to _____ units
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!