HELP ME WITH THIS PROBLEM! (CHEMISTRY CONVERSION)

Zinc (Zn) is a silvery metal that is used in making brass (with copper) and in plating
iron to prevent comosion How many moles of Zn are there in 23.3 g of Zn?
Strategy We are trying to solve for moles of Zn. What conversion factor do we need
to convert between grams and moles? Arrange the appropriate conversion factor so that
grams cancel and the unit mol is obtained for your answer.
Solution The conversion factor needed to convert between grams and moles is the
molar mass. In the periodic table (see inside front cover) we see that the molar mass
of Zn is 65.39 g. This can be expressed as
1 mol Zn=65.39 g Zn
From this equality, we can write the two conversion factors
1 mol Zn
65.39 g Zn
and
65.39 g Zn
1 mol Zn
The conversion factor on the left is the corect one. Grams will cancel, leaving unit of
mol for the answer. The number of moles of Zn is
1 mol Zn
23.3 gZí x 65 30 0356 mol Zn
Thus, there is 0.356 mole of Zn in 233 g of Zn
Check Because 23.3 g is less than the molar mass of Zn, we expect the result to be
less than 1 mole.


PART 1:Create a program that would
replicate the following problem. (30 pts)

PART 2: From the above problem, create
a program that would ask the user for
the number of grams of an element and
compute for the nunmber of moles. (20
pts)


CAN ANYONE HELP ME PLS......GUIDE ONLY
> PART 1:Create a program that would replicate the following problem. (30 pts)
Exactly, what is 'the problem'?

The 20 lines of waffle at the start of your post reduce to simple algebra.
Presumably the paper you're looking at which none of us can see gives some examples.

Like say I type 20 as the input to the program, then what?

Oh and tone down the caps
http://catb.org/~esr/faqs/smart-questions.html#writewell
Well as a starter for part 1):
1
2
3
4
5
#include <iostream>

int main() {
	std::cout << "23.3g of Zn is " << 23.3 / 65.39 << " moles\n";
}

Last edited on
Topic archived. No new replies allowed.