Recently everyone has been failing the AP Chem exams, because there's not enough time to finish them. Programs are fair game if we make them, so I decided to make one. One of the main reasons we can't get done is because we have to calculate the molar mass so often. To reduce time on calculating this I was to make a program that you enter the Atomic number, and how many times it occurs...Then add it with the other atoms in the compound.
So I need something like {1.00794,4.00260,6.941,9.01218,...}
then when they enter in the atomic number such as 1, the program would use 1.00794, or if it was 2; 4.00260.
I cannot for the life of me remember the command to get a number like this out of a list.
Also, is this the best way to go about it, any suggestions?
So I need something like {1.00794,4.00260,6.941,9.01218,...}
then when they enter in the atomic number such as 1, the program would use 1.00794, or if it was 2; 4.00260.
I cannot for the life of me remember the command to get a number like this out of a list.
Also, is this the best way to go about it, any suggestions?