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]
2 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]2 years ago
6 0
The best answer would be

D. Int calculateCost(int count);
You might be interested in
After a program has downloaded to a PLC, what must be selected?
Hitman42 [59]

Answer:

A driver is an independent software application that is used to configure communication between a personal or industrial computer and a hardware device

5 0
2 years ago
Rsidential Solar Solution:a. A type of photovoltaic solar panel manufactured in China receives a rating of 250W. The rating proc
aksik [14]

Answer:

a) \eta = 13.455\%, b) E_{day} = 812.716\,kJ, c) C_{month. total} = 19.505\, USD, d) t = 40.588\,years

Explanation:

a) The area of the solar panel is:

A = (20\,ft^{2})\cdot (\frac{0.3048\,m}{1\,ft} )^{2}

A = 1.858\,m^{2}

The energy potential is determined herein:

\dot E_{o} = (1000\,\frac{W}{m^{2}} )\cdot (1.858\,m^{2})

\dot E_{o} = 1858\,W

The efficiency of the solar panel is:

\eta = \frac{\dot E}{\dot E_{o}}\times 100\%

\eta = \frac{250\,W}{1858\,W}\times 100\%

\eta = 13.455\%

b) The energy generated by the solar panel is presented below:

E_{day} = (0.135)\cdot (150\,\frac{W}{m^{2}} )\cdot (20\,ft^{2})\cdot \left(\frac{0.3048\,m}{1\,ft} \right)^{2}\cdot (6\,h)\cdot (\frac{3600\,s}{1\,h} )\cdot (\frac{1\,kJ}{1000\,J} )

E_{day} = 812.716\,kJ

c) The energy generated per month and per panel is:

E_{month} = 30\cdot E_{day}

E_{month} = 30 \cdot (812.716\,kJ)\cdot \left(\frac{1\,kWh}{3600\,kJ}  \right)

E_{month} = 6.773\,kWh

Monthly energy savings due to the use of 18 panels are:

C_{month, total} = 18\cdot E_{month}\cdot c

C_{month, total} = 18\cdot (6.773\,kWh)\cdot (\frac{0.16\,USD}{1\,kWh} )

C_{month. total} = 19.505\, USD

d) The payback of the solar energy system is:

t = \frac{9500\,USD}{12\cdot (19.505\,USD)}

t = 40.588\,years

6 0
3 years ago
A liquid with a specific gravity of 2.6 and a viscosity of 2.0 cP flows through a smooth pipe of unknown diameter, resulting in
sasho [114]
.......,.,.,.,.,.,,.,.,,.,.,.,.,.,.,.,,.,.,,.,,,.,,.,,.,.,.,.,,............,,,,,,’mmdjidvdhxxkf jkkk he in d
6 0
2 years ago
An engineer is applying dimensional analysis to study the flow of air through this horizontal sudden contraction for the purpose
navik [9.2K]

Answer:

The answer is " \Delta p = f(V1, p, V2, d, D, L)"

Explanation:

Please find the complete question in the attached file.

Its change in temperature in pipes depends on rate heads and loss in pipes owing to pipe flow, contractual loss, etc.

The temperature change thus relies on V1 v2 p d D L.

4 0
2 years ago
(b) The application of user centred design can lead to innovative products such as the umbrella shown in Figure 9.
Angelina_Jolie [31]

Answer:

the concept of user centred design is the idea of putting your clients best needs in mind. you need to be empathic and understanding of how to make their life easier. by doing research you can do this. for example the design in figure 9 shows an umbrella with a canopy. the canopy can deflect rain and still have the easy design of an umbrella. this makes it not only easier to use but functional.

Explanation:

i wrote this myself so copy it or just rewrite it, it doesnt matter

8 0
2 years ago
Other questions:
  • An equation used to evaluate vacuum filtration is Q = ΔpA2 α(VRw + ARf) , Where Q ≐ L3/T is the filtrate volume flow rate, Δp ≐
    13·1 answer
  • An overhead 25m long, uninsulated industrial steam pipe of 100mm diameter is routed through a building whose walls and air are a
    9·1 answer
  • What is the difference between a refrigeration cycle and a heat pump cycle?
    9·1 answer
  • Engineering Questions
    15·2 answers
  • What is the federal E-Rate program?
    11·1 answer
  • The longest_word function is used to compare 3 words. It should return the word with the most number of characters (and the firs
    8·1 answer
  • Two pressure gauges measure a pressure drop of 16.3 psi (lb/in.2) at the entrance and exit of an old buried pipeline. The origin
    13·1 answer
  • MCQ : What are the main the constituents of acid rains?
    10·2 answers
  • How does the Ivanpah Solar Plant make electricity?
    12·1 answer
  • A) Your friend is faced with a situation i n whi ch t here is a difficulty in
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!