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.

Answers

Answer 1

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!


Related Questions

Convert this word equation into a balanced formula equation, please.
Copper (II) nitrate reacts with aluminum to form aluminum nitrate and copper.

Answers

Answer:

3Cu(NO3)2 + 2Al —> 2Al(NO3)3 + 3Cu

Explanation:

From the question given above,

Copper (II) nitrate reacts with aluminum to form aluminum nitrate and copper. This can be obtained represent as follow:

Cu(NO3)2 + Al —> Al(NO3)3 + Cu

Thus, we can balance the above equation as follow:

Cu(NO3)2 + Al —> Al(NO3)3 + Cu

There are 2 atoms of N on the left side and 3 atoms on the right side. It can be balance by putting 3 in front of Cu(NO3)2 and 2 in front of Al(NO3)3 as shown below:

3Cu(NO3)2 + Al —> 2Al(NO3)3 + Cu

There are 3 atoms of Cu on the left side and 1 atom on the right side. It can be balance by putting 3 in front Cu as shown below:

3Cu(NO3)2 + Al —> 2Al(NO3)3 + 3Cu

There are 2 atoms of Al on the right side and 1 atom on the left side. It can be balance by putting 2 in front of Al as shown below:

3Cu(NO3)2 + 2Al —> 2Al(NO3)3 + 3Cu

Thus, the equation is balanced.

How many protons, electrons, and neutrons? ANSWEN
2+
23
6521
26
Protons
Electrons
Neutrons
28
30
65
3-
31
Protons
Electrons
Neutrons
"As
57 Fe
32
3+
33
35
36
DRAGO
Protons
Electrons
Neutrons
14
ME
US

Answers

Answer:

maybe 20 butvam not sure ooo

jagsir saw his mother adding dried neem leaves to the metal vessel filled with wheat. jagsir asked the reason for this from his mother. what would be his mothers reply? ​

Answers

Answer:

Because i want to. would be the reply

Explanation:

VOTE ME BRAINLIEST PLSSSSSSSSS

Answer:

none of the above

option d

giving brainliest answer it

Answers

Answer:

B as its not specific enough

answer two quetions.......

Answers

Answer:5.=D

6.=B

Explanation:

List two different reasons ants work together

Answers

protect each other from threats and attacks from other animals, make working and building faster.

Put the elements in order from easiest to hardest to remove an electron. Ba,Be,Ca,Sr.

Answers

Answer:

Ba,Sr,Ca,Be

Explanation:

as atomic size increases ionisation potential decreases

What is the role of an R group in an amino acid?
A.) It represents the core group that is common to all amino acids.
B.) It gives all amino acids the same physical and chemical properties.
C.) It is the functional group that distinguishes one amino acid from another.
D.) It is the site where other amino acids bond to form polypeptide chains.

Answers

Answer:

C.) It is the functional group that distinguishes one amino acid from another.

Explanation:

An R group is also known as a random group and is one of the key components of an amino acid. It contributes to their wide variety.

The role of an R group in an amino acid as It is the functional group that distinguishes one amino acid from another. Option C is correct.

What are functional groups?

The functional groups are the some groups of chemicals oh hydrogen and notrgen and oxygen or carbon combination like carboxylic acid they are combination of carbon and amines as they are amnio groups etc.

The R attached at the end represents the different functional gropus of amino acids in the chain of hydrocarbon compound or orgamic compounds as they are primay and secondry and tertiary amines.

Therefore, Option C is correct.The role of an R group in an amino acid as It is the functional group that distinguishes one amino acid from another.

Learn more about functional groups, here:

https://brainly.com/question/14618322

#SPJ2

True or False: Water is a liquid at – 5 °C.

Answers

Answer:

False

Explanation:

Answer:

False

Explanation:

Water's freezing point is at 0 degrees celsius

Suggest reasons for and against the inclusion of hydrogen in the main group of the periodic table ​

Answers

Answer:

See explanation

Explanation:

Hydrogen has only one valence electron. Sometimes, hydrogen is included as part of group 1 or 17 in the periodic table. Is this correct? Well, the answer to this question is not so straight forward!

Let us remember that hydrogen forms a univalent positive ion H^+ just like the group 1 elements, but it also forms a univalent negative ion H^- just like group 17 elements. Also, hydrogen is a gas and forms a molecular diatomic compound just like group 17 elements. This is not the case with other group 1 elements. We can see that hydrogen is chemically and physically dissimilar to other group 1 elements hence one can logically argue against its inclusion in group 1. Also, it is not a halogen, so we can also argue against its inclusion in group 17.

However, it is convenient to include hydrogen in the main groups 1 or 17 when discussing its chemical properties in order to make it easier to assimilate. If we place hydrogen in group 1, we can understand that it forms univalent positive ions. Similarly, if we place it in group 17, we understand that it forms univalent negative ions.

Most times hydrogen is just written separately at the top right corner of the periodic table and not as a member of any group because of the issues outlined above.

Hydrogen is placed in the main group of the periodic table since it has only one electron in it and it also behaves like alkali metal properties.

Hydrogen atom:

Hydrogen forms a univalent positive ion [tex]H^+[/tex]group 1 elements, but it also forms a univalent negative ion [tex]H^-[/tex]group 17 elements. Also, hydrogen is a gas and forms a molecular diatomic compound just like group 17 elements.

This is not the case with other group 1 elements. We can see that hydrogen is chemically and physically dissimilar to other group 1 elements hence one can logically argue against its inclusion in group 1. Also, it is not a halogen, so we can also argue against its inclusion in group 17.

If we place hydrogen in group 1, we can understand that it forms univalent positive ions and if it is placed in halogen group it will form univalent negative ion.

Find more information about Hydrogen here:

brainly.com/question/25597694

Let's say you asked how many moles of O2
are needed to react with 24 moles of C2H6.

Answers

Answer:

7

Explanation:

Which two photos show electric force in action?
DA.

Answers

Answer:

its c and d i just took the test

Explanation:

Electric force is degenerated when papers are attracted onto the comb and when the nails attached to the stone. In both cases a static electricity is  generated. Thus, option A and C are correct.

What is static electricity ?

When a material is rubbed the electrons gets delocalized and the material gets a negative charge. For instance when comb is rubbed through hair it acquires a negative charge and this when comes in contact with a paper, the paper will attracts on the comb.

The random charges of the paper gets aligned temporarily into two poles by the attraction of electrons from the comb. Thus the positive pole of the comb gets attached to the comb and there creates a static electricity.

The the conducting nails when scratched on the stone a static electricity generates whereas in the case of a bar magnet no electric field is comes in action when it attracts the nails  to the magnetic field. Thus, photos A and C are correct.

To find more on static electricity, refer here:

https://brainly.com/question/12791045

#SPJ5

For the chemical reaction:
N2 (g)
+
H2(g)=
NH3 (g)
Calculate the volume of NH; that will form from 200 dm cubed of N2 at STP. (N = 14; H - 1)
[At STP. 1 mole of any gas occupies volume of 22 A dm cubed​

Answers

Answer:

Volume of ammonia produced = 398.7 dm³

Explanation:

Given data:

Volume of N₂ = 200 dm³

Pressure and temperature = standard

Volume of ammonia produced = ?

Solution:

Chemical equation:

N₂ + 3H₂     →      2NH₃

Number of moles of N₂:

PV = nRT

1 atm× 200 L = n× 0.0821 atm.L/mol.K × 273 K

n = 200 atm.L /22.41 atm.L/mol

n = 8.9 mol

Now we will compare the moles of ammonia and nitrogen.

               N₂          :         NH₃

                1            :           2

              8.9          :        2/1×8.9 = 17.8 mol

Volume of ammonia:

1 mole of any gas occupy 22.4 dm³ volume

17.8 mol ×22.4 dm³/1 mol = 398.7 dm³

Plzz tell me the answer u need help im kinda confused

All of the following are examples of an external stimulus except -
Group of answer choices

Ⓐ hunger.

Ⓑ sunlight.

Ⓒ a loud sound.

Answers

Hi
I think it’s B
Hopefully this helps!!

Stimuli are the senses that cause an organism to react. Internal sensations include things like hunger and thirst that are produced inside the body, hence option A is correct.

What is stimulus?

A stimulus is a perceptible alteration in the internal or external surroundings of an organism's physical or chemical composition.

Sensitivity is the capacity of an organism or organ to recognize external stimuli and to respond appropriately to them.

A stimulation that comes from outside the organism is known as an external stimulus. Light is one example of an outside stimulation. Although it comes from outside the body, it has an impact there as well.

Therefore, sunlight and a loud sound are the examples of external stimuli, while  hunger is an internal stimulus.

Learn more about stimulus, here:

https://brainly.com/question/1747649

#SPJ5

Which of the following equations demonstrates an actual chemical reaction that forms a new substance?

A1: ZN + 2HCl → 2NCl2 + H2

A2: H2O + NaCl → H2O

A3: Zn + Al + Cu → Zn + Cu + Al

A4: C12H22O11 + H2O → H2O + C12H22O11

Answers

Answer:  [tex]Zn+2HCl\rightarrow ZnCl_2+H_2[/tex]

Explanation:

A chemical reaction is said to have occured when reactants react to form new products where the atoms undergo a change in bonding.

From the given reactions:

1. [tex]Zn+2HCl\rightarrow ZnCl_2+H_2[/tex]

Here Zn combines with hydrochloric acid to form zinc chloride and hydrogen.

2. [tex]H_2O+NaCl\rightarrow H_2O[/tex]

Here water remains as such as no new substance is formed.

3. [tex]Zn+Al+Cu\rightarrow Zn+Cu+Al[/tex]

Here no new substance is formed.

4. [tex]C_{12}H_{22}O_{11}+H_2O\rightarrow H_2O+C_{12}H_{22}O_{11}[/tex]

Here no new substance is formed.

Thus [tex]Zn+2HCl\rightarrow ZnCl_2+H_2[/tex] demonstrates an actual chemical reaction that forms a new substance

Answer:

hope this helps you!

Explanation:

solve the equation:
1) 3,2 m²= x dm²= x cm²

BRAINLIEST!!!!

Answers

I take sleeper bye lol

Answer:

sin  = (330)

csc = (60)

−4 = cot (−45)

Explanation:

im not sure what you were looking for, make me brainlest please?

Perform the following
mathematical operation, and
report the answer to the correct
number of significant figures.
1.987/3.46 = [?]

Answers

Answer:

.574

Explanation:

smallest number of digits in the expression was 3, so the final answer should have 3 sig figs

which one does not share the same properties as the other


Si

Ti

At
Explain why

Answers

Answer:

Ti

Explanation:

Ti is titanium and does not share any similar properties with the likes of Si, silicon and At, astatine.

Titanium is a transition metal and a solid. Silicon and Astatine are non - metals. Silicon and Astatine also belongs to the p-block on the periodic table whereas Titanium is found on the d-block. Silicon and Astatine would prefer to take part in reactions where they can gain electrons because they are non metals whereas Titanium due to its metallic property would prefer a reaction where it can lose electrons.

A hypothesis is a
a. concise statement of behavior that is always the same under the same conditions
b. set of quantitative data
C. tentative explanation or predication based upon experimental observations
d. well-tested unifying principle that explains a body of facts
e. mathematical formula that models a pattern of behavior
concise statement of behavior that is always the same under the same conditions

Answers

Answer:

the answer is c or d

Explanation:

you can cross out e because it dont make any sense

b thats just data

a is the definition of law

Using the balanced equation below,
how many grams of zinc would be
required to produce 9.65 g of zinc
hydroxide?
Zn + 2MnO2 + H20 → Zn(OH)2 + Mn203

Please help I need it for a test

Answers

Answer:

Mass = 6.538 g

Explanation:

Given data:

Mass of zinc hydroxide produced = 9.65 g

Mass of zinc required = ?

Solution:

Chemical equation:

Zn + 2MnO₂ + H₂O      →      Zn(OH)₂ + Mn₂O₃

Number of moles of zinc hydroxide:

Number of moles = mass/molar mass

Number of moles = 9.65 g/ 99.42 g/mol

Number of moles = 0.1 mol

now we will compare the moles of zinc and zinc hydroxide,

                  Zn(OH)₂           :          Zn

                       1                  :          1

                    0.1                  :         0.1

Mass of zinc required:

Mass = number of moles × molar mass

Mass = 0.1 mol × 65.38 g/mol

Mass = 6.538 g

Answer: 6.35

Explanation:

what is the empirical formula of a compound that is found to consist of 56% chorine and no other element except iron

Answers

Answer:

FeCl₂

Explanation:

Empirical formula is the simplest formula of a compound.

Mass percentage of Chlorine  = 56%

Mass percentage Iron  = 100  - 56  = 44%

                                                              Elements  

                                                 Fe                                 Cl

Percentage mass                    44                                  56

moles                                      44/55.85                   56/35.5

                                                  0.79                         1.56

Divide by the smallest

number                                    0.79/0.79                 1.56/0.79

                                                        1                                 2

The empirical formula of the compound is FeCl₂

What is the velocity of a plane that traveled 2,800 miles from New York to California in 5.0 hours?

Answers

Answer:

560 mph East

Explanation:

Velocity is just speed with direction pretty much.

The EPA tracks the amount of DDT that has entered into our water systems to ensure water safety. Calculate the ppm for a solution made by putting 2.7 g of DDT into a 59000 g of water. Assume masses are additive

a. 46 ppm
b. 0.0046 ppm
c. 4.6 ppm
d. 4.6 x 10^-5 ppm

Answers

i think the answer is C. i’m not sure mate

How is the name of each element in the periodic table represented? A. The first two letters of the element's name are used for the table. B. Letters are assigned to each element by the scientist who discovered it. C. Letters are given to represent each element based on when it was discovered. D. One or two letters are used to represent the name of each element.​

Answers

Answer:

D. One or two letters are used to represent the name of each element.​

Explanation:

The name of each element in the periodic table is symbolized by one or two letters.

There different ways of achieving this. Sometimes;

the first letter of the name of the element is used to represent it for example, hydrogen  = H the first two letters are sometimes used, for example Calcium Cathe Latin name is also used for example Gold is Aurum and is represented as Au.

These are some of the ways of symbolizing the name of each element

please help GIVING brainliest

Answers

Answer:

heat wave

Explanation:

A high pressure system is a whirling mass of cool, dry air that generally brings fair weather and light winds. When viewed from above, winds spiral out of a high-pressure center in a clockwise rotation in the Northern Hemisphere.

What do you think is responsible for the color produced in the flame, the metal atom or what is attached to the metal atom?
Hint: The metal atom comes first in the formula and the name of the compound.

Answers

Answer:

metal Atom

Explanation:

every transition metal atom are responsible for the flame color. Some metal are also confirmed by flame test.

help me in my this plzzz ​

Answers

Answer:

a is oxidation

b is reduction

c is reduction

d is oxidation

hope it helps you

That the right question

Ethane (CH) is one of many compounds that burns in oxygen to form carbon dioxide and water, as represented by the equation.
2C2H6 + 702 4CO2 + 6H2O
Which substance is a product in this reaction?

Answers

Answer:

carbon dioxide and water.

Explanation:

Chemical equation:

2C₂H₆ + 7O₂      →    4CO₂ + 6H₂O

Reactants are present on the left side of chemical equation while products are present on the right side of chemical equation. In given chemical equation ethane and oxygen are reactant while carbon dioxide and water are product.

The given reaction is combustion reaction. Ethane is burnt in the presence of oxygen and produces carbon dioxide and water.

The reaction also follow the law of conservation of mass.

This law was given by French chemist  Antoine Lavoisier in 1789. According to this law mass of reactant and mass of product must be equal, because masses are not created or destroyed in a chemical reaction.

This base-catalyzed isomerization involves the following steps: 1. Deprotonation to form tetrahedral intermediate 1; 2. Collapse of the tetrahedral intermediate and bond cleavage to form enolate ion 2; 3. Proton transfer to form enolate ion 3; 4. Intramolecular aldol reaction to form tetrahedral intermediate 4. Write out the reaction on a separate sheet of paper, and then draw the structure of tetrahedral intermediate 1.

Answers

Answer:

Explanation:

The objective of this question is to show the stepwise reaction mechanism for the base-catalyzed isomerization. This mechanism is shown in the attached diagram below together with its intermediary and enolate ions.

solve the equation: 3)15.000 cm²= x dm ²
BRAINLIEST!!!!

Answers

Answer:

x = 150 dm

Explanation:

10 cm = 1 dm

100 cm² = 1 dm²

15,000 cm² = 150 dm²

Answer:

csc = (60)

cos = (390)

−4 = cot (−45)

Explanation:

make me braienst please?

Other Questions
Assume that 10 waves pass a fixed point in 5 seconds. What is the frequency of the waves in hertz? What is the decimal expansion of the following fraction 1/5 A.0.2 B.1.5 C.0.2 D.0.15 Need help with Spanish work What is the GCF of 105x,30x and 75x?I Genetics is defined as: Group of answer choices The scientific study of cells The study of cloning The scientific study of heredity The dividing of cells You can spend up to $35 on a shopping trip. You want to buy a shirt that cost $14. Write and solve an inequality that represents the amount of money you will have left if you buy the shirt Clare analyzes oil prices in her economics class. She finds that the mean oil price between 1988 and 2002 is $27 per barrel with a standard deviation of $5.50 per barrel. Select the z-score for a price of $35.25 per barrel. (Select one answer)0.671.58.25-8.25 Find the retail price if original price is $25 and markdown 12% explain faraday's law Point M is the midpoint of AB. If the coordinates of point Mare (2, 8) and the coordinatesof A are (10, 12), what are the coordinates of B? 100 points and brainlyest which high school should i consider? l live in long beach California and the closest high school is Wilson so I live around that area and I like film art and crafts. What are the electrical charges of a proton, neutron and electron? Why has the American flag described in the poem became an iconic image used as tool for social justice and social change?O! say can you see by the dawns early light,What so proudly we hailed at the twilights last gleaming,Whose broad stripes and bright stars through the perilous fight,Oer the ramparts we watchd, were so gallantly streaming?And the Rockets red glare, the Bombs bursting in air,Gave proof through the night that our Flag was still there;O! say does that star-spangled Banner yet wave,Oer the Land of the free and the home of the brave?On the shore dimly seen through the mists of the deep,Where the foes haughty host in dread silence reposes,What is that which the breeze, oer the towering steep,As it fitfully blows, half conceals, half discloses?Now it catches the gleam of the mornings first beam,In full glory reflected now shines on the stream,Tis the star-spangled banner, O! long may it waveOer the land of the free and the home of the brave.And where is that band who so vauntingly sworeThat the havoc of war and the battles confusion,A home and a country should leave us no more?Their blood has washed out their foul footsteps pollution.No refuge could save the hireling and slave,From the terror of flight, or the gloom of the grave,And the star-spangled banner in triumph doth wave,Oer the Land of the Free and the Home of the Brave.O! thus be it ever, when freemen shall stand,Between their lovd home and the wars desolation,Blest with victry and peace, may the Heavn rescued land,Praise the Power that hath made and preservd us a nation!Then conquer we must, when our cause it is just,And this be our mottoIn God is our Trust;And the star-spangled Banner in triumph shall wave,Oer the Land of the Free and the Home of the Brave. Help plsssssss................. The number of fish in a lake decreased by 25% between last year and this year. Last year there were 60 fish in the lake. What is the population this year? (Consider using a tape diagram) Kelly is making greeting cards, which she will sell by the box at an arts fair. She paid $20 fora booth at the fair, and the materials for each box of cards cost $3. She will sell the cards for$7 per box of cards. At some point, she will sell enough cards so that her sales cover herexpenditures. How many cards will that take?Write a system of equations, graph them, and type the solution.504030Dollars ($)2010 PLLSSS HELPP Nitrogen bases are always connected to which part of the nucleotide? Please show step by step how to do this (2-step) equation3x + 6 = 21 A surfboard was originally priced at $199. The store reduced the price by 10%. A customer bought the surfboard using a coupon for $20 off. How many dollars did the customer pay? can someone write me an essay of why school homework is not needed 21 points with brainliest.