> think we are getting close > > when we do "pH = -log10(Hplus);" i get > > ??? In an assignment A(I) = B, the number of > elements in B and > I must be the same. > > Error in ==> pH_Calculation_3 at 47 > pH(i) = -log10(Hplus); > > if i remove the '(i)' > > and run as > pH(i) = -log10(Hplus); > > my pH array starts pH14 to pH13. It should start > with pH approx = pH1 and progress towards pH14. > > any thoughts, sorry if new to this. > > thanks
If you run exactly the code I sent you (after replacing "For" by "for"), what error message do you get or which unexpected behaviour do you encounter ?