Have you ever had an ice cream headache that’s when a painful sensation resonates in your head after eating something cold usually ice cream on a hot day this pain is produced by the dilation of a nerve center in the roof of your mouth the nerve center is overreacting to the cold by trying to hit your brain ice cream headaches have turned many smiles to frowns identify the structure

Answers

Answer 1

Answer:

Cause and effect

Explanation:

pls mark brainliest

Answer 2

The  structure that makes or turned many smiles to frowns can be regarded as compare/contrast.

What is compare contrast?

The term compare/contrast  is a common terms. The act of comparing is known to be depicting the similarities, and contrasting is said to be showing differences that exist between two things.

Conclusively, from the above, we can see that it is a compare/contrast scenario as it talks about the effects of taking ice cream. It went from  smiles to frowns.

See option below

cause/effect

descriptive

compare/contrast

sequence/process

Learn more about compare/contrast from

https://brainly.com/question/9087023


Related Questions

The supplement file* that enclosed to this homework consists Time Versus Force data. The first column in the file stands for time (second) and the 2nd stands for force (Volt), respectively. This data were retrieved during an impact event. In this test, an impactor strikes to a sample. A force-ring sensor that attached to the impactor generates voltage during collision. A data acquisition card gathers the generated signals.
• Take the mass of the impactor as 30 kg and strike velocity as 2.0 m/s.
• Pick the best numerical technique, justify your choice.
• All results must be in SI units.

a) Determine a factor that will be used in the conversion from V to N. The calibration data that supplied by manufacturer as below:
• Take the mass of the impactor as 30 kg and strike velocity as 2.0 m/s.
• Pick the best numerical technique, justify your choice.
• All results must be in SI units.

a) Determine a factor that will be used in the conversion from V to N. The calibration data that supplied by manufacturer as below:• Take the mass of the impactor as 30 kg and strike velocity as 2.0 m/s.
• Pick the best numerical technique, justify your choice.
• All results must be in SI units.

a) Determine a factor that will be used in the conversion from V to N. The calibration data that supplied by manufacturer as below:
b) Compute the impulse of this event.
c) Obtain acceleration, velocity and displacement histories by using Newton’s second law of motion.
d) Compute the absorbed energy during collision.

Answers

Answer:

A.) 1mv = 2000N

B.) Impulse = 60Ns

C.) Acceleration = 66.67 m/s^2

Velocity = 4 m/s

Displacement = 0.075 metre

Absorbed energy = 60 J

Explanation:

A.) Using a mathematical linear equation,

Y = MX + C

Where M = (2000 - 0)/( 898 - 0 )

M = 2000/898

M = 2.23

Let Y = 2000 and X = 898

2000 = 2.23(898) + C

2000 = 2000 + C

C = 0

We can therefore conclude that

1 mV = 2000N

B.) Impulse is the product of force and time.

Also, impulse = momentum

Given that

Mass M = 30kg

Velocity V = 2 m/s

Impulse = M × V = momentum

Impulse = 30 × 2 = 60 Ns

C.) Force = mass × acceleration

F = ma

Substitute force and mass into the formula

2000 = 30a

Make a the subject of formula

a = 2000/30

acceleration a = 66.67 m/s^2

Since impulse = 60 Ns

From Newton 2nd law,

Force = rate of change in momentum

Where

change in momentum = -MV - (- MU)

Impulse = -MV + MU

Where U = initial velocity

60 = -60 + MU

30U = 120

U = 120/30

U = 4 m/s

Force = 2000N

Impulse = Ft

Substitute force and impulse to get time

60 = 2000t

t = 60/2000

t = 0.03 second

Using third equation of motion

V^2 = U^2 + 2as

Where S = displacement

4^2 = 2^2 + 2 × 66.67S

16 = 4 + 133.4S

133.4S = 10

S = 10/133.4

S = 0.075 metre

D.) Energy = 1/2 mV^2

Energy = 0.5 × 30 × 2^2

Energy = 15 × 4 = 60J

Find a negative feedback controller with at least two tunable gains that (1) results in zero steady state error when the input is a unit step (1/s). (and show why it works); (2) Gives a settling time of 4 seconds; (3) has 10% overshoot. Use the standard 2nd order approximation. Plot the step response of the system and compare the standard approximation with the plot.

Answers

Answer:

Gc(s) = [tex]\frac{0.1s + 0.28727}{s}[/tex]

Explanation:

comparing the standard approximation with the plot attached we can tune the PI gains so that the desired response is obtained. this is because the time requirement of the setting is met while the %OS requirement is not achieved instead a 12% OS is seen from the plot.

attached is the detailed solution and the plot in Matlab

How does a car batteray NOT die?

Answers

Answer:

bye hooking plugs up to it to amp it up

(a) Show how two 2-to-1 multiplexers (with no added gates) could be connected to form a 3-to-1 MUX. Input selection should be as follows: If AB = 00, select I0 If AB = 01, select I1 If AB = 1− (B is a don’t-care), select I2 (b) Show how two 4-to-1 and one 2-to-1 multiplexers could be connected to form an 8-to-1 MUX with three control inputs. (c) Show how four 2-to-1 and one 4-to-1 multiplexers could be connected to form an 8-to-1 MUX with three control inputs

Answers

Answer:

Explanation:

a) Show how two 2-to-1 multiplexers (with no added gates) could be connected to form a 3-to-1 MUX. Input selection should be as follows: If AB = 00, select I0 If AB = 01, select I1 If AB = 1− (B is a don’t-care), select I2

We are to show how Two-2-to -1 multiplexers could be connected to form 3-to-1 MUX

If AB = 00 select [tex]I_o[/tex]

If AB = 01 select [tex]I_1[/tex]

If AB = 1_(B is don't care), select [tex]I_2[/tex]

However, the truth table is attached and shown in the first file below.

Also, the free- body diagram for 2- to - 1 MUX is shown in the second diagram attached below.

b) We are show how  two 4-to-1 and one 2-to-1 multiplexers could be connected to form an 8-to-1 MUX with three control inputs.

The perfect illustration showing how they are connected in displayed in the third free-body diagram attached below.

Where ; [tex]I_o , I_1, I_2, I_3, I_4, I_5, I_6, I_7[/tex] are the inputs of the multiplexer and Z is the output.

c)  Show how four 2-to-1 and one 4-to-1 multiplexers could be connected to form an 8-to-1 MUX with three control inputs.

For  four 2-to-1 and one 4-to-1 multiplexers could be connected to form an 8-to-1 MUX with three control inputs, we have a perfect illustration of the diagram in the last( which is the fourth) diagram attached below.

Where ; [tex]I_o , I_1, I_2, I_3, I_4, I_5, I_6, I_7[/tex] are the inputs of the multiplexer and Z is the output

This question is a multiplexer which is a topic in digital circuit.

Multiplexer is a type of combination circuit that consist of a maximum of [tex]2^n[/tex] data inputs 'n' selection lines and single output line. One of these data inputs will be connected to the output based on the values of selection lines. Another name for multiplexers is MUX.

If we have 'n' selection lines, we will get [tex]2^n[/tex] possible combinations zero and ones. Each combination will select a maximum of only one data input.

a)

Two 2-to-1 multiplexers to form a 3-to-1 MUX.

If AB = 00, select [tex]I_o[/tex]

If AB = 01, select [tex]I_1[/tex]

If AB = 1- (B is don't care) select I

The truth table for the above scenario is in the attached document below.

Figure 1 and 2 represents the solution to this question.

b).

Two 4-to-1 multiplexers and one 2-to-1 multiplexers and one 2-to-1 multiplexers are used to form an 8-to-1 MUX.

In the attached diagram, figure 3 shows a comprehensive detail of how it is structured.

Where [tex]I_o[/tex] to [tex]I_7[/tex] are the inputs of the multiplexer and Z is the output.

c) Four 2-to-1 multiplexers and one 4-to -1 multiplexer are used to form 8-to-1 MUX.

In the attached diagram, figure 4 shows how it is structured.

We would see that [tex]I_o[/tex] to [tex]I_7[/tex] are the inputs of the multiplexer and Z is the output in the system.

Learn more about multiplexers here;

https://brainly.com/question/25953942

A flat site is being considered for a new school that will have a steel frame and brick façade. The steel columns will have a maximum load of 250 kips, and the planned column support will consist of a 6 foot by 6 foot square footing placed 2 feet below the ground surface (to the bottom of the footing). Subsurface conditions consist of a 15-foot-thick layer of uniform silty sand (unit weight = 122 pcf, soil modulus = 160,000 psf) over stiff clay (unit weight = 118 pcf, soil modulus = 230,000 psf). Groundwater is deep.
a) Sketch the problem (freehand, not to scale) and state any necessary assumptions.
b) Calculate the immediate (elastic) settlement.

Answers

Answer:

See explaination

Explanation:

Please kindly check attachment for the step by step solution of the given problem

Explain why failure of this garden hose occurred near its end and why the tear occurred along its length. Use numerical values to explain your result. Assume the water pressure is 30 psistr

Answers

Answer:

hoop stresslongitudinal stressmaterial used

all this could led to the failure of the garden hose and the tear along the length

Explanation:

For the flow of water to occur in any equipment, water has to flow from a high pressure to a low pressure. considering the pipe, water is flowing at a constant pressure of 30 psi inside the pipe which is assumed to be higher than the allowable operating pressure of the pipe. but the greatest change in pressure will occur at the end of the hose because at that point the water is trying to leave the hose into the atmosphere, therefore the great change in pressure along the length of the hose closest to the end of the hose will cause a tear there. also the other factors that might lead to the failure of the garden hose includes :

hoop stress ( which acts along the circumference of the pipe):

αh = [tex]\frac{PD}{2T}[/tex]     EQUATION 1

and Longitudinal stress ( acting along the length of the pipe )

αl = [tex]\frac{PD}{4T}[/tex]       EQUATION 2

where p = water pressure inside the hose

          d = diameter of hose, T = thickness of hose

we can as well attribute the failure of the hose to the material used in making the hose .

assume for a thin cylindrical pipe material used to be

[tex]\frac{D}{T}[/tex] ≥  20

insert this value into equation 1

αh = [tex]\frac{20 *30}{2}[/tex]  = 60/2 = 30 psi

the allowable hoop stress was developed by the material which could have also led to the failure of the garden hose

Problem Statement: Air flows at a rate of 0.1 kg/s through a device as shown below. The pressure and temperature of the air at location 1 are 0.2 MPa and 800 K and at location 2 the pressure and temperature are 0.75 MPa and 700 K. The surroundings are at 300 K and the surface temperature of the device is 1000 K. Determine the rate that the device performs work on its surroundings if the rate of heat transfer from the surface of the device to the environment is 1 kW. Justify your answer. Note that the flow direction for the air is not specified so you need to consider all possibilities for the direction of the airflow. Assume that the air is an ideal gas, that R

Answers

Answer:

The answer is "+9.05 kw"

Explanation:

In the given question some information is missing which can be given in the following attachment.

The solution to this question can be defined as follows:

let assume that flow is from 1 to 2 then

Q= 1kw

m=0.1 kg/s

From the steady flow energy equation is:

[tex]m\{n_1+ \frac{v^2_1}{z}+ gz_1 \}+Q= m \{h_2+ \frac{v^2_2}{2}+ gz_2\}+w\\\\\ change \ energy\\\\0.1[1.005 \times 800]-1= 0.01[1.005\times 700]+w\\\\w= +9.05 \ kw\\\\[/tex]

If the sign of the work performed is positive, it means the work is done on the surrounding so, that the expected direction of the flow is right.

is sampled at a rate of to produce the sampled vector and then quantized. Assume, as usual, the minimum voltage of the dynamic range is represented by all zeros and the maximum value with all ones. The numbers should increase in binary order from bottom to top. Find the bit combination used to store each sample when rounded to the nearest integer between and (clipping may occur). Note: A partially-correct answer will not be recognized. You must answer all three correctly on the same

Answers

Answer:

d[0] = 11111111

d[1] = 11011101

d[2] = 1111011

Explanation:

Assume that the number of bits is 8. The voltage range input is -8 to 7 volts. The range is thus 15V, and the resolution is 15/2^8 = 0.0586 volts. We will first add +8 to the input to convert it to a 0-15v signal. Then find the equivalent bit representation. For 7.8 volts, the binary signal will be all 1's, since the max input voltage for the ADC is 7 volts. For 4.95, we have 4.95+8 = 12.95 volts. Thus, N = 12.95/0.0586 = 221. The binary representation is 11011101. For -0.8, we have -0.8 + 8 = 7.2. Thus, N = 7.2/0.0586 = 123. The binary representation is 1111011.

Thus,

d[0] = 11111111

d[1] = 11011101

d[2] = 1111011

Consider a Carnot heat pump cycle executed in a steady-flow system in the saturated mixture region using R-134a flowing at a rate of 0.264 kg/s. The maximum absolute temperature in the cycle is 1.15 times the minimum absolute temperature, and the net power input to the cycle is 5 kW. If the refrigerant changes from saturated vapor to saturated liquid during the heat rejection process, determine the ratio of the maximum to minimum pressures in the cycle.

Answers

Answer:

7.15

Explanation:

Firstly, the COP of such heat pump must be measured that is,

              [tex]COP_{HP}=\frac{T_H}{T_H-T_L}[/tex]

Therefore, the temperature relationship, [tex]T_H=1.15\;T_L[/tex]

Then, we should apply the values in the COP.

                           [tex]=\frac{1.15\;T_L}{1.15-1}[/tex]

                           [tex]=7.67[/tex]

The number of heat rejected by the heat pump must then be calculated.

                   [tex]Q_H=COP_{HP}\times W_{nst}[/tex]

                          [tex]=7.67\times5=38.35[/tex]

We must then calculate the refrigerant mass flow rate.

                   [tex]m=0.264\;kg/s[/tex]

                   [tex]q_H=\frac{Q_H}{m}[/tex]

                         [tex]=\frac{38.35}{0.264}=145.27[/tex]

The [tex]h_g[/tex] value is 145.27 and therefore the hot reservoir temperature is 64° C.

The pressure at 64 ° C is thus 1849.36 kPa by interpolation.

And, the lowest reservoir temperature must be calculated.

                   [tex]T_L=\frac{T_H}{1.15}[/tex]

                        [tex]=\frac{64+273}{1.15}=293.04[/tex]

                        [tex]=19.89\°C[/tex]

the lowest reservoir temperature = 258.703  kpa                    

So, the pressure ratio should be = 7.15

Sludge wasting rate (Qw) from the solids residence time (Thetac = mcrt) calculation. Given the following information from the previous problem. The total design flow is 15,000 m3/day. Theoretical hydraulic detention time (Theta) = 8 hours. The NPDES limit is 25 mg/L BOD/30 mg/L TSS.

Assume that the waste strength is 170 mg/L BOD after primary clarification.

XA=MLSS = 2200 mg/L,
Xw = Xu = XR = 6,600 mg/L,
qc = 8 days.

Make sure you account for the solids in the discharge.

What volume of sludge (Qw=m3/day) is wasted each day from the secondary clarifiers?

Answers

Answer:

The volume of sludge wasted each day from the secondary classifiers is Qw = 208.33 m^3 / day

Explanation:

Check the file attached for a complete solution.

The volume of the aeration tank was first calculated, V = 5000 m^3 / day.

The value of V was consequently substituted into the formula for the wasted sludge flow. The value of the wasted sludge flow was calculated to be Qw = 208.33 m^3 / day.

For what type of metal is high speed steel drill best suited?

Answers

ANSWER-
I believe it would be high speed steel

Answer:

high speed steel I believe

The spherical pressure vessel has an inner diameter of 2 m and a thickness of 10 mm. A strain gauge having a length of 20 mm is attached to it, and it is observed to increase in length by 0.012 mm when the vessel is pressurized. Determine the pressure causing this deformation, and find the maximum in-plane shear stress, and the absolute maximum shear stress at a point on the outer surface of the vessel. The material is steel, for which Est

Answers

Question:

The spherical pressure vessel has an inner diameter of 2 m and a thickness of 10 mm. A strain gage having a length of 20 mm is attached to it, and it is observed to increase in length by 0.012 mm when the vessel is pressurized. Determine the pressure causing this deformation, and find the maximum in-plane shear stress, and the absolute maximum shear stress at a point on the outer surface of the vessel. The material is steel, for which Eₛₜ = 200 GPa and vₛₜ = 0.3.

Answer:

See explanation below

Explanation:

Given:

d = 2m = 2*10³ = 2000

thickness, t = 10 mm

Length of strain guage = 20 mm

i) Let's calculate d/t

[tex] \frac{d}{t} = \frac{2000}{10} = 200 [/tex]

Since [tex] \frac{d}{t}[/tex] is greater than length of strain guage, the pressure vessel is thin.

For the minimum normal stress, we have:

[tex] \sigma max= \frac{pd}{4t} [/tex]

[tex] \sigma max= \frac{2000p}{4 * 20} [/tex]

= 50p

For the minimum normal strain due to pressure, we have:

[tex] E_max= \frac{change in L}{L_g} [/tex]

[tex] = \frac{0.012}{20} = 0.60*10^-^3[/tex]

The minimum normal stress for a thin pressure vessel is 0.

[tex] \sigma _min = 0 [/tex]

i) Let's use Hookes law to calculate the pressure causing this deformation.

[tex] E_max = \frac{1}{E} [\sigma _max - V(\sigma _initial + \sigma _min)] [/tex]

Substituting figures, we have:

[tex] 0.60*10^-^3 = \frac{1}{200*10^9} [50p - 0.3 (50p + 0)] [/tex]

[tex] 120 * 10^6 = 35p [/tex]

[tex] p = \frac{120*10^6}{35}[/tex]

[tex] p = 3.429 * 10^6 [/tex]

p = 3.4 MPa

ii) Calculating the maximum in-plane shear stress, we have:

[tex] \frac{\sigma _max - \sigma _int}{2}[/tex]

[tex] = \frac{50p - 50p}{2} = 0 [/tex]

Max in plane shear stress = 0

iii) To find the absolute maximum shear stress at a point on the outer surface of the vessel, we have:

[tex] \frac{\sigma _max - \sigma _min}{2}[/tex]

[tex] = \frac{50p - 0}{2} = 25p [/tex]

since p = 3.429 MPa

25p = 25 * 3.4 MPa

= 85.71 ≈ 85.7 MPa

The absolute maximum shear stress at a point on the outer surface of the vessel is 85.7 MPa

6. For the following waste treatment facility, chemical concentration (mg/gal) within the tank can be considered uniform. The initial chemical concentration inside the tank was 5 mg/gal, the concentration of effluent coming in is 20 mg/gal. The volume of the tank is 600 gallons. The fluid coming in rate is equal to fluid going out is equal to 60 gal/min. (a) Establish a dynamic model of how the concentration of chemical inside the tank increases over time. Specify the units for your variables. (Hint: establish a mass balance of the waste chemical. The concentration inside the tank = concentration going out) (b) Find the Laplace transformation of the concentration (transfer function) for this step input of 20 mg/gal.

Answers

Answer:

mass of chemical coming in per minute = 60 × 20 = 1200 mg/min

at a time t(min) , M = mass of chemical = 1200 × t mg

concentration of chemical = 1200t / 600 = 2t mg / gallon

Explanation:

Since it is only fluid that is leaving and not chemical.

The amusement park ride consists of a fixed support near O, the 6-m arm OA, which rotates about the pivot at O, and the compartment, which remains horizontal by means of a mechanism at A. At a certain instant, β=30ο, 2 0.75 rad/s, and 0.5 rad/s    , all clockwise. Determine the horizontal and vertical forces (F and N) exerted by the bench on the 75-kg rider at P. Compare your results with the static values of these forces. (Use x-y coordinate system and vector equations

Answers

Answer:

Check the explanation

Explanation:

Kindly check the attached image below to see the step by step explanation to the question above.

g In the above water treatment facility, chemical concentration (mg/gal) within the tank can be considered uniform. The initial chemical concentration inside the tank was 0 mg/gal, the concentration of effluent coming in is 10 mg/gal. The volume of the tank is 10,000 gallons. The fluid coming in rate is equal to fluid going out is equal to 50 gal/min. Establish a dynamic model of how the concentration of the chemical inside the tank increases over time.

Answers

Answer:

0.05 mg / gallon

Explanation:

mass of chemecila coming in per minute = 50*10 = 500 mg/min

at a time t min , M = mass of chemical = 500*t mg

conecntartion of chemecal = 500t/10000 = 0.05 mg / gallon

A refrigerator uses refrigerant-134a as the working fluid and operates on the ideal vapor-compression refrigeration cycle except for the compression process. The refrigerant enters the evaporator at 120 kPa with a quality of 34 percent and leaves the compressor at 70°C. If the compressor consumes 450 W of power, determine (a) the mass flow rate of the refrigerant, (b) the condenser pressure, and (c) the COP of the refrigerator

Answers

Answer:

(a) 0.0064 kg/s

(b) 800 KPa

(c) 2.03

Explanation:

The ideal vapor compression cycle consists of following processes:

Process  1-2 Isentropic compression in a compressor

Process 2-3 Constant-pressure heat rejection in a condenser

Process 3-4 Throttling in an expansion device

Process 4-1 Constant-pressure heat absorption in an evaporator

For state 4 (while entering compressor):

x₄ = 34% = 0.34

P₄ = 120 KPa

from saturated table:

h₄ = hf + x hfg = 22.4 KJ/kg + (0.34)(214.52 KJ/kg)

h₄ = 95.34 KJ/kg

For State 1 (Entering Compressor):

h₁ = hg at 120 KPa

h₁ = 236.99 KJ/kg

s₁ = sg at 120 KPa = 0.94789 KJ/kg.k

For State 3 (Entering Expansion Valve)

Since 3 - 4 is an isenthalpic process.

Therefore,

h₃ = h₄ = 95.34 KJ/kg

Since this state lies at liquid side of saturation line, therefore, h₃ must be hf. Hence from saturation table we find the pressure by interpolation.

P₃ = 800 KPa

For State 2 (Leaving Compressor)

Since, process 2-3 is at constant pressure. Therefore,

P₂ = P₃ = 800 KPa

T₂ = 70°C (given)

Saturation temperature at 800 KPa is 31.31°C, which is less than T₂. Thus, this is super heated state. From super heated property table:

h₂ = 306.9 KJ/kg

(a)

Compressor Power = m(h₂ - h₁)

where,

m = mass flow rate of refrigerant.

m = Compressor Power/(h₂ - h₁)

m = (0.450 KJ/s)/(306.9 KJ/kg - 236.99 KJ/kg)

m = 0.0064 kg/s

(b)

Condenser Pressure = P₂ = P₃ = 800 KPa

(c)

The COP of ideal vapor compression cycle is given as:

COP = (h₁ - h₄)/(h₂ - h₁)

COP = (236.99 - 95.34)/(306.9 - 236.99)

COP = 2.03

The Ph diagram is attached

Two Electric field vectors E1 and E2 are perpendicular to each other; obtain its base
vectors.

Answers

Answer:

<E1, E2>.

Explanation:

So, in the question above we are given that the Two Electric field vectors E1 and E2 are perpendicular to each other. Thus, we are going to have the i and the j components for the two Electric Field that is E1 and E2 respectively. That is to say the addition we give us a resultant E which is an arbitrary vector;

E = |E| cos θi + |E| sin θj. -------------------(1).

Therefore, if we make use of the components division rule we will have something like what we have below;

x = |E2|/ |E| cos θ and y = |E1|/|E| sin θ

Therefore, we will now have;

E = x |E2| i + y |E1| j.

The base vectors is then Given as <E1, E2>.

A steady green traffic light means

Answers

You can continue on forward through the traffic light....

Answer:

Its C. you may proceed, but only if the path is clear

Explanation:

I just gave Quiz and  its correct

Create an abstract class DiscountPolicy. It should have a single abstract method computeDiscount that will return the discount for the purchase of a given number of a single item. The method has two parameters, count and itemCost. 2. Derive a class BulkDiscount from DiscountPolicy, as described in the previous exercise. It should have a constructor that has two parameters, minimum and percent. It should define the method computeDiscount so that if the quantity purchased of an item is more than minimum, the discount is percent percent. 3. Derive a class BuyNItemsGetOneFree from DiscountPolicy, as described in Exercise 1. The class should have a constructor that has a single parameter n. In addition, the class should define the method computeDiscount so that every nth item is free. For example, the following table gives the discount for the purchase of various counts of an item that costs $10, when n is 3: count 1 2 3 4 5 6 7 Discount 0 0 10 10 10 20 20

4. Derive a class CombinedDiscount from DiscountPolicy, as described in Exercise 1. It should have a constructor that has two parameters of type DiscountPolicy. It should define the method computeDiscount to return the maximum value returned by computeDiscount for each of its two private discount policies. The two discount policies are described in Exercises 2 and 3. 5. Define DiscountPolicy as an interface instead of the abstract class described in Exercise 1.

Answers

Answer:

Java Code was used to define classes in the abstract discount policy,The bulk discount, The buy items get one free and the combined discount

Explanation:

Solution

Code:

Main.java

public class Main {

public static void main(String[] args) {

  BulkDiscount bd=new BulkDiscount(10,5);

BuyNItemsGetOneFree bnd=new BuyNItemsGetOneFree(5);

CombinedDiscount cd=new CombinedDiscount(bd,bnd);

System.out.println("Bulk Discount :"+bd.computeDiscount(20, 20));

  System.out.println("Nth item discount :"+bnd.computeDiscount(20, 20));

 System.out.println("Combined discount :"+cd.computeDiscount(20, 20));    

  }

}

discountPolicy.java

public abstract class DiscountPolicy

{    

public abstract double computeDiscount(int count, double itemCost);

}    

BulkDiscount.java  

public class BulkDiscount extends DiscountPolicy

{    

private double percent;

private double minimum;

public BulkDiscount(int minimum, double percent)

{

this.minimum = minimum;

this.percent = percent;

}

at Override

public double computeDiscount(int count, double itemCost)

{

if (count >= minimum)

{

return (percent/100)*(count*itemCost); //discount is total price * percentage discount

}

return 0;

}

}

BuyNItemsGetOneFree.java

public class BuyNItemsGetOneFree extends DiscountPolicy

{

private int itemNumberForFree;

public BuyNItemsGetOneFree(int n)

{

  itemNumberForFree = n;

}

at Override

public double computeDiscount(int count, double itemCost)

{

if(count > itemNumberForFree)

return (count/itemNumberForFree)*itemCost;

else

  return 0;

}

}

CombinedDiscount.java

public class CombinedDiscount extends DiscountPolicy

{

private DiscountPolicy first, second;

public CombinedDiscount(DiscountPolicy firstDiscount, DiscountPolicy secondDiscount)

{

first = firstDiscount;

second = secondDiscount;

}

at Override

public double computeDiscount(int count, double itemCost)

{

double firstDiscount=first.computeDiscount(count, itemCost);

double secondDiscount=second.computeDiscount(count, itemCost);

if(firstDiscount>secondDiscount){

  return firstDiscount;

}else{

  return secondDiscount;

}

}  

}

Air at 100°F, 1 atm, and 10% relative humidity enters an evaporative cooler operating at steady state. The volumetric flow rate of the incoming air is 1765 ft3/min. Liquid water at 68°F enters the cooler and fully evaporates. Moist air exits the cooler at 70°F, 1 atm. There is no significant heat transfer between the device and its surroundings and kinetic and potential energy effects can be neglected. Determine the mass flow rate at which liquid enters, in lb(water)/min.

Answers

Answer:

Check the explanation

Explanation:

Kindly check the attached image below to see the step by step explanation to the question above.

A heat recovery device involves transferring energy from the hot flue gases passing through an annular region to pressurized water flowing through the inner tube of the annulus. The inner tube has inner and outer diameters of 24 and 30 mm and is connected by eight struts to an insulated outer tube of 60-mm diameter. Each strut is 3 mm thick and is integrally fabricated with the inner tube from carbon steel (k 50 W/m K). Consider conditions for which water at 300 K flows through the inner tube at 0.161 kg/s while flue gases at 800 K flow through the annulus, maintaining a convection coefficient of 100 W/m2 K on both the struts and the outer surface of the inner tube. What is the rate of heat transfer per unit length of tube from gas to the water?

Answers

Answer:

See explaination

Explanation:

Please kindly check attachment for the step by step solution of the given problem.

Discuss the ethics of the circumstances that resulted in the Columbia shuttle disaster. Considering the predictions that were made years before the disaster, as well as the reliability of the Binomial distribution and its implications, what could or should the engineers associated with the program have done differently

Answers

Explanation:

This is not so much a mathematical issue as a case study, because the response will inevitably require us to test the special Columbic shuttle disaster scenario. I would suggest that you read this in detail and present the points accordingly. Here I give as many points as I think are relevant.

The failure of a space program is definitely a complex situation, more than a simple binomial distribution. It's definitely not as simple as repeating the flip of a coin. There are several coherent factors and situations that govern the overall coordination and execution of such an event. The problem is, those who are running a project like this are still making a trade off,It is never the case that they sealed the lid on any chance of failure between multiple parameters. You try to do something, but often, as is the case above, the potentially dangerous situation is impossible or uncontrollable. Since the root cause of failure, which is dried out tiles that can not withstand heat and water, it appears that owing to the constant use of the shuttle the head architects have not foreseen this.

Determine the drag on a small circular disk of 0.02-ft diameter moving 0.01 ft/s through oil with a specific gravity of 0.89 and a viscosity 10000 times that of water. The disk is oriented normal to the upstream velocity. By what percent is the drag reduced if the disk is oriented parallel to the flow?

Answers

Answer:

33.3%

Explanation:

Given that:

specific gravity (SG) = 0.89

Diameter (D) =  0.01 ft/s

Density of oil [tex]\rho= SG\rho _{h20} = 0.89 * 1.94=1.7266\frac{sl}{ft^3}[/tex]

Since the viscosity 10000 times that of water, The reynold number [tex]R_E=\frac{\rho VD}{\mu} =\frac{1.7266*0.01*0.01}{0.234}=7.38*10^{-4}[/tex]

Since RE < 1, the drag coefficient for normal flow is given as: [tex]C_{D1}=\frac{24.4}{R_E}= \frac{20.4}{7.38*10^{-4}}=2.76*10^4[/tex]

the drag coefficient for parallel flow is given as: [tex]C_{D2}=\frac{13.6}{R_E}= \frac{13.6}{7.38*10^{-4}}=1.84*10^4[/tex]

Percent reduced = [tex]\frac{D_1-D_2}{D_2} *100=\frac{2.76-1.84}{3.3}=33.3[/tex] = 33.3%

What is Postflow used to protect?

Answers

Answer:

The idea is to protect the puddle while it cools

Explanation:

a) The current that goes through a 100 mH inductor is given as
i(t) = 6 - 2e^-2t A t >= 0
Find the voltage v(t) across the inductor.
b) The voltage v(t) = 5sin(5t) V is applied across the terminals of a 200 mH inductor. The initial current through the inductor is i(0) = -10 A. Find the current i(t) through the inductor for t > 0.

Answers

Answer:

A) V(t) = 0.4e^-2t

B) i(t) = (25tsin5t+10) A for t>0

Explanation:

Formula for calculating voltage across an inductor is expressed as:

V = Ldi/dt

Given L = 100mH = 100×10^-3

If i(t) = 6 - 2e^-2t A t >= 0

di/dt = (-2)(-2)e^-2t

di/dt = 4e^-2t

If t ≥ 0

V(t) = 100×10^-3 × (4e^-2t)

V(t) = 0.1×4e^-2t

V(t) = 0.4e^-2t for t≥0

B) Applying the same formula as above

V = Ldi/dt

Vdt = Ldi

V/L dt = di

On integration

Vt/L = i + C

When t = 0, i = -10A

Substituting the values into the formula

V(0)/L = -10 + C

0 = -10+C

C = 10

To get the current i(t) through the inductor for t>0,

Since Vt/L = i + C

Given V(t) = 5sin5t Volts

L = 200mH = 200×10^-3H

C = 10

On substituting

(5sin5t)t/0.2 = i + 10

25tsin5t = i + 10

i(t) = (25tsin5t-10) A for t>0

what is the Economic​

Answers

Economics is the social science that studies the production, distribution, and consumption of goods and services. Economics focuses on the behaviour and interactions of economic agents and how economies work-...........did this help

An air conditioning unit is used to provide cooling during summer for a house. If the air conditioner provides 450 kW cooling by using 150 kW electrical power, determine the coefficient of performance (COP) of the air conditioner. The outside temperature and inside temperature are 40 and 20°C, respectively. Using the inequality of Clausius determine if the cycle is possible. Determine the COP of an air conditioner working based on the Carnot cycle between the same temperature difference. Compare the COPs of the Carnot and actual air conditioners and comment on them based on your answer for the previous part (the inequality of

Answers

Answer:

See explaination

Explanation:

Please kindly check attachment for the step by step solution of the given problem.

Other Questions
What is the value of x in the equation below?40x + 120 = 72021181512.5 3/4 x 1/4next problme: 3/5 x 1/5100 pts If a 1.45 M solution has 2.43 g HCl dissolved, what is the volume of solution? (Change g HCl into mol using molar mass) A ladder that is 21 feet long is propped against a building. The bottom of the ladder was placed 4 feet from the base of the building. How high up on the building does the ladder reach? Round the answer to the nearest tenth of a foot.4.1 feet17.0 feet20.6 feet21.4 feet What type of mutation is taking place in this diagram?Answer options in the photo The balance sheets for Plasma Screens Corporation and additional information are provided below. PLASMA SCREENS CORPORATION Balance Sheets December 31, 2021 and 2020 2021 2020 Assets Current assets: Cash $ 242,000 $ 130,000 Accounts receivable 98,000 102,000 Inventory 105,000 90,000 Investments 5,000 3,000 Long-term assets: Land 580,000 580,000 Equipment 890,000 770,000 Less: Accumulated depreciation (528,000 ) (368,000 ) Total assets $ 1,392,000 $ 1,307,000 Liabilities and Stockholders' Equity Current liabilities: Accounts payable $ 109,000 $ 95,000 Interest payable 7,000 13,000 Income tax payable 9,000 6,000 Long-term liabilities: Notes payable 110,000 220,000 Stockholders' equity: Common stock 800,000 800,000 Retained earnings 357,000 173,000 Total liabilities and stockholders' equity $ 1,392,000 $ 1,307,000 Additional information for 2021: Net income is $184,000. Sales on account are $1,890,000. Cost of goods sold is $1,394,250. Required: 1. Calculate the following risk ratios for 2021: What is the fractionation of X2 - 6X + 5 We conduct a study to determine whether the majority of community college students plan to vote in the next presidential election. We choose a significance level of 0.05. We survey 650 randomly selected community college students and find that 54% of them plan to vote. The P-value is 0.02. H0: 50% of community college students plan to vote in the next presidential election. Ha: More than 50% of community college students plan to vote in the next presidential election. What can we conclude please help me with this exerciseI will mark you as a brainliest Escribe. Write a list of the steps you take to set the table. Use the verb poner in the yoform.Modelo: Pongo el tenedor a la izquierda del plato. If (A:20:4:16) is a proportion the find out the value of A fastly what happened to most of people who went west to mine for gold? Imagine that you are given the opportunity to create your own TV channel and select the programming that appears on your channel. write a TV listing page from a television guide in which you name and describe the programs you would show, including the type of programs that they are, what they are about and a critic's opinion of each one. use as many Spanish vocabulary words and phrases as possible in your TV listing. THIS IS MATH WORK AND IS VERY CONFUSING I NEED HELP PLEASEASAP PLEASE (Could you show work too thanks :D) pls help it will mean alot!!due rn!! The temperature during a winter day was less than 8 degrees Fahrenheit. Digby wants to write an any quality for the temperature during the winter day. What constant should Digby use in the inequality? Which word with x has a different pronunciation than the other three? a. xito b. examen c. prximod. exclamar The Red Wolf Society, a nongovernmental not-for-profit organization, receives numerous contributed hours from volunteers during its busy season. Tom, a clerk at the local government utilitys office, volunteered ten hours per week for 8 weeks transferring wolf food from the port to the wolf shelter. His rate of pay at the utility office is $20 per hour, and the prevailing wage rate for laborers is $15 per hour. What amount of contribution revenue should Red Wolf Society record for this service? Multiple Choice $1,200 $400 $1,600 $0 The horizontal distance between a crest to the next trough of an ocean wave is 5 meters.What is the wavelength of the ocean wave? (5 points)2 meters5 meters10 meters20 meters During the winter this species of fox has white fur, but in the summer, it has brown fur. What environmental change may have lead to this fox's fur color?