Onward to the next type of
problem!
The next step in the calculator
is creating an option so that the user can switch between which type of
calculation he/she wishes to solve. As I've mentioned before, stoichiometry
contains a wide range of very diverse problems that change depending on the situation
of the problem, which poses difficulty when trying to create a stable
calculator. I've decided to only create two options for problems as far as this
year is concerned: two-reaction
one-product (which has already been completed), and two-reaction two-product
(which still needs to be created), as well as a button to be able to switch easily
between the two types of problems. The button works similar to when you choose
your gender when you create a new email. As one circle is selected, the other circle
becomes unselected. Each circle will be labeled corresponding to the type of
problem it represents. As you click on, and choose which problem you have, the
GUI of the calculator changes so that you can solve that type of problem. If
you were, let's say, to switch from the two-reaction one-product problem type to the two-reaction
two-product problem type, the only thing the user would see visually would be
added input boxes for another compound on the right side of the equation
(another product).
Currently, I am finishing up
the button's code within the program, and will soon proceed to write the entire
arithmetic for the two-product calculations. Again, if you have any questions
over anything I'm doing, may it be general or meticulously specific, please don't
hesitate to ask; I will try to post the video of the calculator in action by
the end of the week.
No comments:
Post a Comment