Weak Acid/Base Solver v2.4

AcidBase Solver




BASIC Version ASM Version
Author
Daniel Bishop
Morgan Davies
E-mail
dbishop@neo.tamu.edu morgan@ss.ticalc.org
Title
Weak Acid/Base Solver
Weak Acid/Base Solver v2.4
Size
1509
941
Date
October 20, 2000
May 14, 2004
Description
Using this program you can quickly find the pH of any weak acid or base and is in general a very useful tool for acid/base equilibrium problems.


This program is freeware.  You may copy it to as many calculators as you wish, provided that you do not modify the code in any way nor make any profit from distribution of this program. © 2000 Daniel Bishop


1. Loading and Starting the Program
2. Running the Program
3. Special Thanks
4. Need Help With ASM?



Loading and Starting the Program

  • Unzip the program from the downloaded .zip file.
Using any .zip utility you wish, unzip the .86p program from the .zip file. I use ZipGenius.
  • Get either a TI-Graph Link Cable or TI Connect Cable
Currently the TI-86 requires that you have a TI-Graph Link or TI Connect USB cable interface to send this program to your calculator. Once you have the physical link cable, you might need to download the TI-Graph Link software from Texas Instruments or the TI Connect software. If you have any questions about how to use either of these programs, please read their help files. They are relatively easy to figure out on your own.
  • Sending the File via TI-Graph Link
Start TI-Graph Link and hook your calculator up to the cable. Turn your calculator on and have it set at the default home screen (can't be in a program.) Click the icon near the top tool bar that has the arrow pointing at the calculator. You may have to change your port number if a link is not correctly established. Once you have a secure connection find this program and select it to send to your calculator. Beyond here will be easy to figure out. Complete sending the desired programs to your calculator. If you cannot establish a good link, you can either read the help files that comes with the TI-Graph software or contact TI at ti-cares@ti.com.

  • Sending the File via TI Connect
Hook your calculator up to the USB link cable and have it at the home screen with no programs running. Start the "TI Device Explorer" and it should automatically locate your calculator. From here al you have to do is drag and drop the files from your computer onto this window and you will see them transfer. Please note that you have to have v1.5 or above of TI Connect to be able to use this software on the 86 for Windows. Mac's will actually work with an older vesion as well as the current.
  • Once the program is on your calculator you can run the program 3 different ways.
  1. Type in Asm( followed by the name of the program from the home screen (case sensitive) and press [Enter]. (e.g. Asm(AcidBase)
  2. Press [PRGM], [ F1 ], and the appropriate F key corresponding to the name of the program. You may have to press [MORE] if you do not immediately see the program you are looking for. Again you will still have to have Asm( in front of the program name. If you do not wish to type that in you can find it by pressing [2nd], [CUSTOM], [F1], [LOG], and scroll down until you find Asm(.
  3. And the best way to run this program is from any shell written for the 86. If you need a shell for the 86, check out ticalc.org's selection. I prefer to use Rascall.


Running the Program

Once you start the program you will be brought to a main menu with three options.

F1=ACID: For problems in which Ka and [H+][initial] are known.
F2=BASE: For problems in which Kb and [OH-][initial] are known.
F5=EXIT: Quits program.

  • Example Problem - What is the pH of a 0.05 M solution of a weak acid with Ka=4.2e-5?
1. Press F1 to select ACID.
2. Enter the Ka value, 4.2e-5.
3. Enter the molarity of the acid, 0.05.
4. Since the acid was not disassociated before being dissolved in the water, the acid does not contribute to the initial [H+].  The only hydrogen ions originally present were from the water.  The H+ ion concentration of pure water is 1e-7.  Enter this value.
5. Before disassociation of the acid's ions, its conjugate base was not present.  Enter 0 for the initial molarity of the conjugate base.

Input:

Ka=?  4.2e-5
Initial concentration of weak acid=?  0.05
Initial [H+]=?  1e-7
Initial concentraion of conjugate base=?  0

Output:

[H+]=.001                 // final hydrogen ion concentration (mol/L)
[OH-]=7.001e-12           // final hydroxide ion concentration (mol/L)

pH=2.85
pOH=11.15

[Acid]=.049               // final concentration of the weak acid (mol/L)
[Base]=.001               // final concentration of the weak base (mol/L)


Special Thanks

This program is a direct port from its BASIC counterpart. I initially created this to prove that ASM math can be smaller and this is one of the best programs that proves my point. It is a direct port and by that I mean that everything looks the same as the original, but it is smaller and technically faster, but it's not noticable all that much. Anyway I just would like to thank Daniel Bishop for allowing me to port his program to ASM. It is a very useful program. I would have not created it unless I thought otherwise.


Need Help With ASM?

If you are wanting help with any part of TI-86 or any TI-83 series z80 Assembly math feel free to contact me. I know a good amount of ASM for both calculators, but certainly not all of it. I love helping out. It gives me an opportunity to learn if I don't know how to do it already. So like I said, feel free to contact me. I have AIM and am on quite a bit. My screen name is Morgazum85.

I have stopped programming in BASIC for all TI Calculators, but I may be able to assist you in some circumstances. If you have any questions with the source of this program I will gladly answer them for you. That's about it. Thanks for downloading and please feel free to use segments of this code if you wish, but please give credit. Thanks for downloading and feel free to give the program to anyone you want! :-)