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
kirill115 [55]
3 years ago
5

The electricity accounts of residents in a very small town are calculated as follows: v If 250 units or fewer are used, the cost

is 2 cents per unit; v If more than 250 but not more than 800 units are used, the cost is $10 for the first 250 units and 5 cents for every unit in the excess of 250. v If more than 800 units are used, the cost is $35 for the first 800 units plus 10 cents for every unit in the excess of 800. v A basic service fee of $5 is charged, no matter how much electricity is used. Write a user-defined function program to calculate the fees of any electricity unit, and then write a command to calculate the fee of a resident who used 700 electricity units.
Chemistry
1 answer:
saul85 [17]3 years ago
5 0

Answer:

For you first question about the defined function program:

if ( v ≤ 250 ) {

   set p to (5 + v*.02)

}

elseif ( 250 ≤ v ≤ 800 ) {

   set p to (5 + 2500 + (v - 250)*.02)

}

else {

   set p to (5 + 28000 + (v - 800)*.1)

}

This function will first check if the user has used how many units and decide which category that user falls into.

Then, it uses that information to execute a command to calculate how much money that user should pay for the electricity bill, factoring in the extra demands from the question.

For your second question:

(5 + 2500 + (700 - 250)*.02)

= (3000 + 450*.02)

= (3000 + 9)

= 3009

The customer should have paid 3009 dollars.

Explanation:

Hope this helped!

You might be interested in
What would the pH of a solution be if the [H+]= 3.00x10-5 moles/liter
liubo4ka [24]
Are there any options
6 0
3 years ago
An acid's hydronium ion will donate its proton to a base's hydroxide ion, _________ both. a. acidifying b. alkalizing c. neutral
Rufina [12.5K]
C they both are neutralized
3 0
3 years ago
Calculate the heat required to convert 10g of water at 100 c to steam at 100 c the specific heat of water is 1.00 cal the heat o
sladkih [1.3K]
Heat of vaporization of water will be required as water is already at it's boiling point thus heat required will be 540*10=5400 cal
3 0
3 years ago
What do Lewis dot structures show?​
inessss [21]

Answer:

They display the number of valence electrons surrounding an element or compound.

Explanation:

8 0
3 years ago
What is the half-life of iron-59, a radioisotope used medically in the diagnosis of anemia, if a sample with an initial decay ra
Y_Kistochka [10]
1) Data:

<span>initial decay rate, No =16,800 disintegrations/min

final decay rate, Nf = 10,860 disintegrations/min

t = 28.0 days

t half-life =?

2) Formulas

Radioactive disintegration =>

Nt = No * e ^ (-kt)

t half-life = ln (2) / k

3) Solution

From Nt = No * e^ (-kt) =>

Nt / No = e ^ (-kt)

=> -kt = ln (Nt / No)

=> kt = ln (No/Nt)

=> k = ln (No / Nt) / t

=> k = ln (16,800 / 10,860) / 28 days = 0.01558 days^ -1

From t half-life = ln(2) / k

t half-life = ln(2) / (0.01558 days^-1) = 44.5 days.

Answer: 44.5 days.


</span>
8 0
3 years ago
Other questions:
  • How are ionic bonds formed and what is the attractive force within an ionic bond
    5·1 answer
  • SOLVE IT AND HERE'S 30 POINTS In the Northern Hemisphere, the sun is highest in the sky during the _____.
    8·1 answer
  • If 20.0 g of KOH react with 15.0 g of (NH4)2SO4 according to the following reaction, how many liters of NH3 will be produced at
    5·1 answer
  • Equilibrium systems_____.
    7·2 answers
  • Which of the following types of mixture can be filtered to remove solute? A. suspensions only B. colloids only C. suspensions an
    5·2 answers
  • A plant grows into a shrub a physical or chemical change?<br>Explain why?
    7·1 answer
  • What are automated weather stations?
    11·1 answer
  • How many atoms are in 14 moles of I
    15·1 answer
  • HELP ME OUT PLEASE!!!!!!!!
    15·1 answer
  • Give the name and formula of the compound formed from the following elements:<br> (c) ₉₀Q and ₅₃R
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!