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
katen-ka-za [31]
3 years ago
6

The top 3 most popular male names of 2017 are Oliver, Declan, and Henry according to babynames. Write a program that modifies th

e male_names set by removing a name and adding a different name. Sample output with inputs: 'Oliver' 'Atlas' { 'Atlas', 'Declan', 'Henry' } NOTE: Because sets are unordered, the order in which the names in male_names appear may differ from above.
Engineering
1 answer:
Flura [38]3 years ago
7 0

Answer:

The code is given below in Python with appropriate comments

Explanation:

# convert list to set

male_names = set(['Oliver','Declan','Henry'])

# get remove and add name from user

remove_name = input("Enter remove name: ")

add_name = input("Enter add name: ")

# remove name from set

male_names.remove(remove_name)

# add new name ij set

male_names.add(add_name)

# sort the set

a = sorted(male_names)

# print the set

print(a)

You might be interested in
What is the function maintenance? List some important steps for vibration monitoring based maintenance.
Mrrafil [7]

The maintenance is in charge of controlling that all the machines of a company are constantly running in order to avoid damages that cause loss of money when the machines fail.

The maintenance based on vibration monitoring allows to predict failures in some rotating machines such as:

1. worn bearings

2.alignment

3.balance

4. affected gears

5. bent shafts

6. rocks

7.gags

8. eccentricity

9. failures of electrical origin

4 0
3 years ago
For a fluid with a Prandtl Number of 1000.0, the hydrodynamic layer is thinner than the thermal boundary layers. a) True b) Fals
kvv77 [185]

Answer:

(b)False

Explanation:

Given:

 Prandtl number(Pr) =1000.

We know that   Pr=\dfrac{\nu }{\alpha }

  Where \nu is the molecular diffusivity of momentum

             \alpha is the molecular diffusivity of heat.

 Prandtl number(Pr) can also be defined as

    Pr=\left (\dfrac{\delta }{\delta _t}\right )^3

Where \delta is the hydrodynamic boundary layer thickness and \delta_t is the thermal boundary layer thickness.

So if Pr>1 then hydrodynamic boundary layer thickness will be greater than thermal boundary layer thickness.

In given question Pr>1 so  hydrodynamic boundary layer thickness will be greater than thermal boundary layer thickness.

So hydrodynamic layer will be thicker than the thermal boundary layer.

8 0
3 years ago
A student engineer is given a summer job to find the drag force on a new unmaned aerial vehicle that travels at a cruising speed
yan [13]

Answer:

b. 1232.08 km/hr

c. 1.02 kn

Explanation:

a) For dynamic similar conditions, the non-dimensional terms R/ρ V2 L2 and ρVL/ μ should be same for both prototype and its model. For these non-dimensional terms , R is drag force, V is velocity in m/s, μ is dynamic viscosity, ρ is density and L is length parameter.

See attachment for the remaining.

3 0
3 years ago
A horizontal curve of a two-lane undivided highway (12-foot lanes) has a radius of 678 feet to the center line of the roadway. A
OLEGan [10]

Answer:

maximum speed for safe vehicle operation = 55mph

Explanation:

Given data :

radius ( R ) = 678 ft

old building located ( m )= 30 ft

super elevation = 0.06

<u>Determine the maximum speed for safe vehicle operation </u>

firstly calculate the stopping sight distance

m = R ( 1 - cos \frac{28.655*S}{R} )  ----  ( 1 )

R = 678  

m ( horizontal sightline ) = 30 ft

back to equation 1

30 = 678 ( 1 - cos (28.655 *s / 678 ) )

( 1 - cos (28.655 *s / 678 ) )  = 30 / 678 = 0.044

cos \frac{28.65 *s }{678}  = 1.044

hence ; 28.65 * s = 678 * 0.2956

s = 6.99 ≈ 7 ft

next we will calculate the design speed ( u ) using the formula below

S = 1.47 ut  + \frac{u^2}{30(\frac{a}{3.2} )-G1}  ----  ( 2 )

t = reaction time,  a = vehicle acceleration, G1 = grade percentage

assuming ; t = 2.5 sec , a = 11.2 ft/sec^2, G1 = 0

back to equation 2

6.99 = 1.47 * u * 2.5 + \frac{u^2}{30[(11.2/32.2)-0 ]}

3.675 u  + 0.0958 u^2 - 6.99 = 0

u ( 3.675 + 0.0958 u ) = 6.99

5 0
2 years ago
Should aircraft wings have infinite stiffness?
Colt1911 [192]

Answer:

No, they need to be somewhat flexible so that forces such as turbulance don't shear the wing off.

3 0
3 years ago
Read 2 more answers
Other questions:
  • A part has been tested to have Sut = 530 MPa, f = 0.9, and a fully corrected Se = 210 MPa. The design requirements call for the
    10·1 answer
  • em 4:A water jet strikes normal to a xedplate. If diameter of the outlet of the nozzle is 8 cm,and velocity of water at the outl
    9·1 answer
  • A torsional pendulum consists of a 5 kg uniform disk with a diameter of 50 cm attached at its center to a rod 1.5 m in length. T
    13·1 answer
  • For a steel alloy it has been determined that a carburizing heat treatment of 14 h duration at 809°C will raise the carbon conce
    13·1 answer
  • PLEASE HELP!!! <br><br>I've included attachments. Can someone just check my answers pls??
    9·1 answer
  • Consider a machine of mass 70 kg mounted to ground through an isolation system of total stiffness 30,000 N/m, with a measured da
    9·1 answer
  • Joe, a technician, is attempting to connect two hubs to add a new segment to his local network. He uses one of his CAT5 patch ca
    9·1 answer
  • How many types of arcs do we have in AutoCad? O a.9 O b. 10 Oc. 12 O d. 11​
    12·2 answers
  • When mass is the same, what is the relationship between radius and compression strength?
    5·1 answer
  • A. The ragion was colonized by European powers
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!