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
konstantin123 [22]
2 years ago
8

Admission to an aquarium is $14 per person. There is also an IMAX theatre in the building, which charges $8 per ticket for a 3D

shark show. Customers have three choices: admission to the aquarium only without watching 3D show, watch 3D show only with no admission to the aquarium, or do both with a 25% discount. Design a program for group orders. Ask the group to enter number of people who want admission only but no 3D show, number of people who want 3D show only but no admission to the aquarium, and number of people who want both. Calculate and display the total amount due from the group. Submit the algorithm for credit.
Engineering
1 answer:
adoni [48]2 years ago
8 0

Answer:

x=14a+8b+16.5c

Explanation:

x=total cost

a=number of people in just aquarium

b=number of people in just IMAX

c=number of people in both

c=(14+8)×0.75=22×0.75=16.5

You might be interested in
Chad is working on a design that uses the pressure of steam to control a valve in order to increase water pressure in showers. W
Natalija [7]

Answer:

C: Viscosity, the resistance to flow that fluids exhibit

Explanation:

Did it on Edge :)

8 0
2 years ago
Write a method called letterCount that takes two String arguments, one containing some text and the other containing a single le
jenyasd209 [6]

Answer:

I am writing a Python program.  Here is the function letterCount. This function takes two string arguments text and letter and return count of all occurrences of a letter in the text.

def letterCount(text, letter):  

 count = 0  # to count occurrences of letter in the text string

 for char in text:  # loop moves through each character in the text

   if letter == char: # if given letter matches with the value in char

     count += 1  # keeps counting occurrence of a letter in text

 return count # returns how many times a letter occurred in text

   

Explanation:

In order to see if this function works you can check by calling this function and passing a text and a letter as following:

print(letterCount('apples are tasty','a'))

Output:

3

Now lets see how this function works using the above text and letter values.

text = apples are tasty

letter = a

So the function has to compute the occurrences of 'a' in the given text 'apples are tasty'.

The loop has a variable char that moves through each character given in the text (from a of apples to y of tasty) so it is used as an index variable.

char checks each character of the text string for the occurrence of letter a.

The if condition checks if the char is positioned at a character which matches the given letter i.e. a. If it is true e.g if char is at character a of apple so the if condition evaluates to true.

When the if condition evaluates to true this means one occurrence is found and this count variable counts this occurrence. So count increments every time the occurrence of letter a is found in apples are tasty text.

The loop breaks when every character in text is traversed and finally the count variable returns all of the occurrences of that letter (a) in the given text (apples are tasty). As a occurs 3 times in text so 3 is returned in output.

The screen shot of program along with output is attached.

4 0
2 years ago
Refrigerant 134a enters an air conditioner compressor at 4 bar, 20 C, and is compressed at steady state to 12 bar, 80 C. The vol
sleet_krkn [62]

Answer:

Q=15.7Kw

Explanation:

From the question we are told that:

Initial Pressure P_1=4bar

Initial Temperature T_1=20 C

Final Pressure  P_2=12 bar

Final Temperature T_2=80C

Work Output W= 60 kJ/kg

Generally Specific Energy from table is

At initial state

 P_1=4bar \& T_1=20 C

 E_1=262.96KJ/Kg

With

Specific Volume V'=0.05397m^3/kg

At Final state

 P_2=12 bar \& P_2=80C

 E_1=310.24KJ/Kg

Generally the equation for The Process is mathematically given by

 m_1E_1+w=m_2E_2+Q

Assuming Mass to be Equal

 m_1=m_1

Where

 m=\frac{V}{V'}

 m=frac{0.06666}{V'=0.05397m^3/kg}

 m=1.24

Therefore

 1.24*262.96+60)=1.24*310.24+Q

 Q=15.7Kw

4 0
3 years ago
Identify parts of the E-Cig that constitute voltage, current, and resistance. Discuss the role each plays in the E-Cig and typic
Leno4ka [110]

Answer: c

Explanation:

7 0
2 years ago
Write the heat equation for each of the following cases:
jok3333 [9.3K]

Answer:

Explanation:

a) the steady-state, 1-D incompressible and no energy generation equation can be expressed as follows:

\dfrac{\partial^2T}{\partial x^2}=  \ 0  \  ;  \ if \  T = f(x)  \\ \\ \dfrac{\partial^2T}{\partial y^2}=  \ 0  \  ;  \ if \  T = f(y)  \\ \\ \dfrac{\partial^2T}{\partial z^2}=  \ 0  \  ;  \ if \  T = f(z)

b) For a transient, 1-D, constant with energy generation

suppose T = f(x)

Then; the equation can be expressed as:

\dfrac{\partial^2T}{\partial x^2} + \dfrac{Q_g}{k} = \dfrac{1}{\alpha} \dfrac{dT}{dC}

where;

Q_g = heat generated per unit volume

\alpha = Thermal diffusivity

c) The heat equation for a cylinder steady-state with 2-D constant and no compressible energy generation is:

\dfrac{1}{r}\times \dfrac{\partial}{\partial r }( r* \dfrac{\partial \ T }{\partial \ r}) + \dfrac{\partial^2 T}{\partial z^2 }= 0

where;

The radial directional term = \dfrac{1}{r}\times \dfrac{\partial}{\partial r }( r* \dfrac{\partial \ T }{\partial \ r}) and the axial directional term is \dfrac{\partial^2 T}{\partial z^2 }

d) The heat equation for a wire going through a furnace is:

\dfrac{\partial ^2 T}{\partial z^2} = \dfrac{1}{\alpha}\Big [\dfrac{\partial ^2 T}{\partial ^2 t}+ V_z \dfrac{\partial ^2T}{\partial ^2z} \Big ]

since;

the steady-state is zero, Then:

\dfrac{\partial ^2 T}{\partial z^2} = \dfrac{1}{\alpha}\Big [ V_z \dfrac{\partial ^2T}{\partial ^2z} \Big ]'

e) The heat equation for a sphere that is transient, 1-D, and incompressible with energy generation is:

\dfrac{1}{r} \times \dfrac{\partial}{\partial r} \Big ( r^2 \times \dfrac{\partial T}{\partial r} \Big ) + \dfrac{Q_q}{K} = \dfrac{1}{\alpha}\times \dfrac{\partial T}{\partial t}

4 0
3 years ago
Other questions:
  • a. A crude oil pipe’s radius is reduced by 5%. What is the corresponding percentage change in the pressure drop per unit length?
    8·1 answer
  • CNG is a readily available alternative to
    5·1 answer
  • A force that attempts to decrease the length of a structural member is____
    14·1 answer
  • Project 8:The Harris-Benedict equation estimates the number of calories your body needs to maintain your weight if you do no exe
    5·1 answer
  • An air-conditioning system operates at a total pressure of 1 atm and consists of a heating section and a humidifier that supplie
    15·1 answer
  • Describe the cycle that purifies drinking water. 40 points
    15·2 answers
  • State five applications of thermochromic materials
    11·1 answer
  • According to the
    11·1 answer
  • Estimate the maximum expected thermal conductivity for a Cermet that contains 58 vol% titanium carbide (TiC) particles in a coba
    8·1 answer
  • Welding and cutting done in confined spaces must
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!