Pls refer to the link below. i am not able generate the best chemistry match using mathcad. Some variables are high lighten as not defined.
the below link has the my log file and some screen shots
http://e2e.ti.com/support/power_management/battery_management/f/180/t/91106.aspx