newone");
newone.document.writeln ("");
newone.document.writeln ("
");
newone.document.writeln ("",theformula," ");
//newone.document.writeln ("",thename," ");
newone.document.writeln ("");
newone.document.writeln ("");
newone.document.writeln ("");
document.forms[0].elements[0].focus();
document.forms[0].elements[0].select();
newone.document.close();
newone.focus();
}
/*function teacher(){
if (document.forms[0].instructor.selectedIndex==0){
document.forms[0].elements[23].value="d:/http/homework/jim/homework.data"}
if (document.forms[0].instructor.selectedIndex==1){
document.forms[0].elements[23].value="d:/http/homework/sofia/homework.data"}
if (document.forms[0].instructor.selectedIndex==2){
document.forms[0].elements[23].value="d:/http/homework/leonardo/homework.data"}
if (document.forms[0].instructor.selectedIndex==3){
document.forms[0].elements[23].value="d:/http/homework/tom/homework.data"}
if (document.forms[0].instructor.selectedIndex==4){
document.forms[0].elements[23].value="d:/http/homework/oliver/homework.data"}
if (document.forms[0].instructor.selectedIndex==5){
document.forms[0].elements[23].value="d:/http/homework/noel/homework.data"}
if (document.forms[0].instructor.selectedIndex==6){
document.forms[0].elements[23].value="d:/http/homework/george/homework.data"}
if (document.forms[0].instructor.selectedIndex==7){
document.forms[0].elements[23].value="d:/http/homework/bill/homework.data"}
//this generates the random confirmation number
document.forms[0].elements[12].value=Math.round(10000*Math.random())
//this starts the timer
timer(0)
}
//obviously the timer function
function timer(z){
tt=z
var b=Math.floor(tt/60)
var j = (tt % 60)
if (j<10){c="0"}
else {c=""}
document.forms[0].elements[11].value=b + ":" + c + j
running=setTimeout("timer(tt+1)",1000)
}
*/
function answer(a,s,b){
if(tried==1){
alert("You've already done this one. Get a new problem")
}
else{
if(tried==2){total++
document.forms[0].elements[2].value=total}
a=a.toLowerCase()
b=b.toLowerCase()
if ( a==firstpart & b==secpart & s==x){
document.forms[0].elements[1].value="correct"
correct++
document.forms[0].elements[3].value=correct
tried=1
}
else{
if(s!=x){document.forms[0].elements[1].value="Stock incorrect"
tried=2}
else{
if(a!=firstpart & b!=secpart){
document.forms[0].elements[1].value="both incorrect"
}
else{
if(a!=firstpart){
document.forms[0].elements[1].value="first incorrect"
}
else{
document.forms[0].elements[1].value="second incorrect"
}
}
tried=2}
}}
}
function spellings(){
var spellit=window.open("","spellit","scrollbars=yes,width=150,height=300")
spellit.document.clear()
spellit.document.writeln ("");
spellit.document.writeln ("spellit");
spellit.document.writeln ("");
spellit.document.writeln ("");
spellit.document.writeln ("Spellings ");
spellit.document.writeln (cation[12]['name']," ");
for(i=8;i<22;i++){
spellit.document.writeln (anion[i]["name"]," ")};
spellit.document.writeln ("");
document.forms[0].elements[0].focus();
document.forms[0].elements[0].select();
spellit.document.close();
spellit.focus();
}
Nomenclature of Simple Binary Compounds Using Stock Notation
This is a basic exercise in naming simple binary compounds which contain metals. Since its effective use requires analysis
of text input there are some basic rules:
Stock notation must be used on this page.
Common names such as "ferrous" are not used.
Spelling matters very much. No effort has been made to analyze input against possible spelling errors. There
is a button below which can be pushed to display the spelling of all polyatomic ions used on this page.
Capitalization does not matter, the page can adjust for improper capitalization.
All compounds on this page can be viewed as simple binary compounds.
For those combinations for which prefixes are not needed,e.g. CaCl2, their use will result in an error.
Operation:
1. Pressing "Display Spellings" will open a window containing the spelling used for the polyatomic ions
on this page. The user should refer to periodic tables or other sources for spelling of elements.
2. Pressing "New Compound" causes a small window to appear with a formula, two empty cells and a "Check Answer" button.
3. Enter the first "part" of the compound in the first cell and the second "part" in the second cell.
4. Enter the proper Stock notation using the select window between the "first" and "second" parts.
5. Press "Check Answer."
6. Detailed results and score appear in the table on the top page.
7. If you get all or part of the name incorrect, you may go back and correct your answer and resubmit it.