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
Galina-37 [17]
3 years ago
8

If you need to write a function that will compute the cost of some candy, where each piece costs 25 cents, which would be an app

ropriate function declaration?
(A) int calculateCost(char name);
(B) char calculateCost(int count);
(C) int calculateCost int count;
(D) int calculateCost(int count);
Engineering
1 answer:
masya89 [10]3 years ago
6 0
The best answer would be

D. Int calculateCost(int count);
You might be interested in
A steel bolt has a modulus of 207 GPa. It holds two rigid plates together at a high temperature under conditions where the creep
VikaD [51]

Answer:

14.36((14MPa) approximately

Explanation:

In this question, we are asked to calculate the stress tightened in a bolt to a stress of 69MPa.

Please check attachment for complete solution and step by step explanation

7 0
3 years ago
Ammonia enters the expansion valve of a refrigeration system a temperature of 24oC and pressure of10 bar and exits at 1 bar. If
miskamm [114]

Answer:

X=0.194

T=-33.6C

Explanation:

Hello!

To solve this problem use the following steps!

1. We will call the expansion valve inlet 1 and exit 2

2.Through laboratory tests, thermodynamic tables were developed, these allow to know all the thermodynamic properties of a substance (entropy, enthalpy, pressure, specific volume, internal energy etc ..)

through prior knowledge of two other properties such as pressure and temperature.

3. Find the enthalpy of state 1 using pressure and temperature using thermodynamic tables

h1=Enthalpy(Ammonia;T=24C;P=1000kPa)=312.9KJ/kg

4. An expansion valve is a device which does not have heat or work exchange which means that the enthalpy of state one is equal to that of state 2, so using thermodynamic tables uses the pressure of state 2 and enthalpy of state 1 to find quality and temperature

x2=Quality(Ammonia;P=100kPa;h=h1=312.9KJ/kg) =0.194

T2=Temperature(Ammonia;P=100kPa;h=h1=312.9KJ/kg)=-33.6C

6 0
4 years ago
A power cycle under development has two options for a condenser. One outputs saturated water and one outputs saturated vapor. Th
agasfer [191]

Answer:

408 J/kg

662696.7 J/kg

Explanation:

Workdone by compression process in a pump can be isothermally expressed as :

W = P_1V_1 \ In \frac{P_2}{P_1}

For water at inlet pressure 1. 0 bar;

the specific values for :

saturated vapor v_g = 1.694 m^2 kg

saturated liquid v_f = 0.001043 \  m^2 kg

∴ we have

P_1 = 1.0 bar = 1. 0 × 10⁵ N/m²

P_2 = 50 bar = 50  × 10⁵ N/m²

For saturated water output from condenser work; we have

W = P_1V_f \ In (\frac{P_2}{P_1})

W = (1.0*10^{-5})(0.001043) In ( \frac{50}{10} ) J/kg

W = 408 J/kg

For saturated vapor output from condenser

Work required :

W = P_1V_g \ In ( \frac{P_2}{P_1} )

W = 1.0*10^5*1.694 \ In ( \frac{50}{1.0}) J/kg

W = 662696.7 J/kg

5 0
3 years ago
Read 2 more answers
If you are being tailgated and need to make a stop, you should
alexandr402 [8]

If you are being tailgated and need to make a stop, you should:

B. flash your brake lights ahead of time.

C. slow sooner to make a gradual stop.

<h3>What is tailgating?</h3>

Tailgating can be defined as an act which typically involves a tailgater driving dangerously close behind another vehicle that is in front.

This ultimately implies that, a tailgating vehicle is a hazard to any driver because when he or she brakes suddenly, it may result in the tailgater hitting him or her from the rear.

In this context, we can infer and logically deduce that if you are being tailgated and need to make a stop, you should flash your brake lights ahead of time and slow sooner to make a gradual stop.

Read more on tailgating vehicle here: brainly.com/question/14287208

#SPJ1

8 0
2 years ago
2.13 LAB: Expression for calories burned during workout
katrin [286]

Answer:

ee

Explanation:

This is an over the top question

6 0
3 years ago
Other questions:
  • The volume at a section of a 2-lane highway is 1800 vph in each direction and the density is approximately 30 bpm. A slow moving
    10·1 answer
  • A three-phase source delivers 4.8 kVA to a wye-connected load with a phase voltage of 214 V and a power factor of 0.9 lagging. C
    6·1 answer
  • The melting temperature of pure titanium = 1668°C, its density = 4.5 g/cm^3, specific heat = 0.544 J/gºC, and heat of fusion = 4
    7·1 answer
  • A 30 mm thick AISI 1020 steel plate is sandwiched between two 10 mm thick 2024-T3 aluminum plates and compressed with a bolt and
    9·1 answer
  • Why is low voltage advantageous in arc welding?
    5·1 answer
  • A Pitot-static probe is used to measure the speed of an aircraft flying at4000 m. Assume that the density of the atmosphere at t
    10·1 answer
  • You have been asked to design a steady state treatment device similar to a continuously mixed reactor to treat toluene in an aqu
    11·1 answer
  • I was asked a question in vibrations: What does the magnification factor (MF) magnify? Or why is it called the magnification fac
    6·1 answer
  • Why do engineers play a variety of roles in the engineering process?
    6·1 answer
  • Does an electronic clock use electrical energy?​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!