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
marysya [2.9K]
3 years ago
7

Write a program. Submit a file named height.c Amusement parks have minimum heights for their rides. Create a program that adds u

sers to the line of a ride in an amusement park if they meet the minimum height requirement (given in inches) . Create three classes: o An amusement park class o A ride class o Arider class (people riding the rides) It should work with the following main (DO NOT MODIFY-NO CREDIT IF YOU MODIFY): int mainO Rider r1(Yaris", 45); //name, height in inches Rider r2(49)://height in inches Amusement park a1(3); //3 is the number of rides in the amusement park a1.get ride(1).add_line(r1); //add a rider to the line of a ride Amusement park a2(2); //2 is the number of rides in the amusement park a2.get ride(1).add line(r2); //add a rider to the line of a ride return 0; Possible Sample Run 1 (vour program does not have to match the following exactlv, but ~~~Amusement Park into~~~ Ride 1- Enter minimum ride height and ride name: 40 ride1 Ride 2- Enter minimum ride height and ride name 50 ride2 Ride 3- Enter minimum ride height and ride name 60 ride3 Adding rider to line Amusement Park Info Ride 1- Enter minimum ride height and ride name: 75 ride1 Ride 2- Enter minimum ride height and ride name: 76 ride2 Sorry can't add rider-too short.
Engineering
1 answer:
Natasha_Volkova [10]3 years ago
8 0

Answer:

you ok

Explanation:

try it

You might be interested in
Discuss four (4) advantages of direct and indirect water supply system.
Reil [10]

Answer and Explanation:

Some of the advantages of direct water supply system are:

  • Smaller size of the cistern
  • No risk of polluted water
  • Ease of installation
  • Lower pipe work

Some of the advantages of indirect water supply system are:

  • It can be pumped completely
  • Lower demand on the main source
  • Minimization of wear and tear on taps
  • Larger size of the cistern.
7 0
3 years ago
Read 2 more answers
Define the difference between elastic and plastic deformation in terms of the effect on the crystal lattice structure.
grin007 [14]

Answer:

Elastic Deformation:

  • Elastic deformation is due to the elasticity of the body i.e., the deformation disappears on removal of external forces and the lattice regain its original structure.
  • This type of deformation is temporary  in nature.
  • This type of deformation depends mainly on the chemical bonding of the substance.
  • It occurs due to bending or stretching of chemical bond under applied stress where atoms do not slip pass over each other.
  • It is a reversible process.

Plastic Deformation:

  • Plastic deformation is due to the plasticity of the body i,e., the structure can be easily shaped or molded .
  • This type of deformation is permanent  in nature.
  • This type of deformation occurs mainly due to breakage of chemical bonds(limited in number) between constituent atoms.
  • Atoms may slip pass each other causing dislocation of atoms , resulting in permanent deformation even after stress is removed.
  • It is an irreversible process.
3 0
3 years ago
1. Band saw lower wheel does not require a guard * true or false 2. Band saw upper guide should be adjusted to within 1/8" of th
Blizzard [7]

Answer:

1. Band saw lower wheel does not require a guard * true or false 2. Band saw upper guide should be adjusted to within 1/8" of the work piece * true or false 3. Find board & linear ft for 10 pieces of 4" x 4" x 8' *

4 0
2 years ago
2. The following segment of carotid artery has an inlet velocity of 50 cm/s (diameter of 15 mm). The outlet has a diameter of 11
ahrayia [7]

This question is incomplete, the missing diagram is uploaded along this answer below.

Answer:

the forces required to keep the artery in place is 1.65 N

Explanation:

Given the data in the question;

Inlet velocity V₁ = 50 cm/s = 0.5 m/s

diameter d₁ = 15 mm = 0.015 m

radius r₁ = 0.0075 m

diameter d₂ = 11 mm = 0.011 m

radius r₂ = 0.0055 m

A₁ = πr² = 3.14( 0.0075 )² =  1.76625 × 10⁻⁴ m²

A₂ = πr² = 3.14( 0.0055 )² =  9.4985 × 10⁻⁵ m²

pressure at inlet P₁ = 110 mm of Hg = 14665.5 pascal

pressure at outlet P₂ = 95 mm of Hg = 12665.6 pascal

Inlet volumetric flowrate = A₁V₁ = 1.76625 × 10⁻⁴ × 0.5 = 8.83125 × 10⁻⁵ m³/s

given that; blood density is 1050 kg/m³

mass going in m' = 8.83125 × 10⁻⁵ m³/s × 1050 kg/m³ = 0.092728 kg/s

Now, using continuity equation

A₁V₁ = A₂V₂

V₂ = A₁V₁ / A₂ = (d₁/d₂)² × V₁

we substitute

V₂ =  (0.015 / 0.011 )² × 0.5

V₂ = 0.92975 m/s

from the diagram, force balance in x-direction;

0 - P₂A₂ × cos(60°) + Rₓ = m'( V₂cos(60°) - 0 )    

so we substitute in our values

0 - (12665.6 × 9.4985 × 10⁻⁵)  × cos(60°) + Rₓ = 0.092728( 0.92975 cos(60°) - 0 )    

0 - 0.6014925 + Rₓ =  0.043106929 - 0

Rₓ = 0.043106929 + 0.6014925

Rₓ = 0.6446 N

Also, we do the same force balance in y-direction;

P₁A₁ - P₂A₂ × sin(60°) + R_y = m'( V₂sin(60°) - 0.5 )  

we substitute

⇒ (14665.5 × 1.76625 × 10⁻⁴) - (12665.6 × 9.4985 × 10⁻⁵) × sin(60°) + R_y = 0.092728( 0.92975sin(60°) - 0.5 )

⇒ 1.5484 + R_y = 0.092728( 0.305187 )

⇒ 1.5484 + R_y = 0.028299    

R_y = 0.028299 - 1.5484

R_y = -1.52 N

Hence reaction force required will be;

R = √( Rₓ² + R_y² )

we substitute

R = √( (0.6446)² + (-1.52)² )

R = √( 0.41550916 + 2.3104 )

R = √( 2.72590916 )

R = 1.65 N

Therefore, the forces required to keep the artery in place is 1.65 N

 

7 0
3 years ago
Select four items that an industrial engineer must obtain in order to practice in the field.
alex41 [277]

Answer:

Professional engineering license

Bachelor's degree

Computer science classes

job recommendations

3 0
2 years ago
Read 2 more answers
Other questions:
  • According to Manor, the example of the subway train in New York City is an example of which type of uniqueness?
    9·1 answer
  • Sublimation is to change from
    7·2 answers
  • he Weather Channel reports that it is a hot, muggy day with an air temperature of 90????F, a 10 mph breeze out of the southwest,
    6·1 answer
  • Two technicians are discussing a vehicle that will not start. Tech A states that a problem with the immobilizer system may be th
    9·1 answer
  • A football player attempts a 30‐yd field goal. If he is able to impart a velocity u of 100 ft/sec to the ball, compute the minim
    6·1 answer
  • When will the entropy value of the universe attained its maximum value?
    13·1 answer
  • Using the data from the table, what is P(3)?!
    9·1 answer
  • I want to know if anyone else know how to tell apart real leather from fake leather?!?!
    6·2 answers
  • According to mcclelland human motivation theory, individuals primarily motivated by achievement performance to work in teams
    11·1 answer
  • The variation of the pressure of a fluid with density at constant temperature is known as the _____.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!