You are given two strings of same length and comprosied of + and - , print a new string that shows the result of the interaction of the two strings assume the following rules.
Interaction between two positive characters results in a positive character.
( "+" Against a "+" returns another "+")
Interaction between two negative characters results in a negative character.
("-" Against a "-" returns another "-")
Interaction between a positive and a negative character results in a " 0" (Neutral)
("+" against a "-" returns a "0")
Input: ++++++ ------
Output: 000000
Input: +-----+++- --+-+-++--
Output: 0-0-0-++0-
The following practice problems are prepared for you to polish and enrich your understanding in determining the oxidizing state of elements and further widen your understanding about the differences between an oxidizing agent and a reducing agent.
Assign oxidation state to the underlined element.
1) Cl₂
2) SO₂
3) K₂0₂
4) Cr₂07-²
5) Na₂O₂
6) Na₂S₂O3
7) NaN3
8) CH4
9) Fe₂O3
10) MnO₂
The scores for a mathematics course seem to be normally distributed with mean 70 & standard deviation of 8. If the instructor wishes to give an A grade to 10% of the students, what should be the dividing line between an A grade and a B grade?
The scores for a mathematics course seem to be normally distributed with mean 70 & standard deviation of 8. If the instructor wishes to give an A grade to 10% of the students, what should be the dividing line between an A grade and a B grade?
Solve each of the following problems. Follow Polya's four stages of problem solving in your solution.
6. Your house is two km due north of a river that runs east-west. Your grandmother's house is located 12 km west and 1 km north of your house. Every day, you go from your house to Grandma's, but first visit the stream (to get fresh water for Grandma). What is the length of the route with minimum distance?
7. If 10 cows can eat 10 bags of grain in 10 days, how many days will it take for one Icow to eat one bag of grain?
how many isotopes does carbon have?
Make an algorithm program that prompts the user for a number and then displays its multiplication table using a loop.
In a competitive market, supply and demand decrease simultaneously. The effect on equilibrium quantity is
If the demand for motor vehicles decreases due to a drop in consumer income, and if, at the same time, increases in factor prices cause the supply of motor vehicles to decrease, the price of motor vehicles will
A technological advancement for Good A will shift the _________ curve of Good A to the _________, leading to a ___________in the equilibrium price.