Heh, I had to buy a new calculator last semester for one class where I used a calculator. Now I just use Maple/Matlab for all of my homework since it doesn't waste batteries and none of my engineering classes allow calculators on tests because people will try to cheat by writing formulas and whatnot in on them.
That, and I haven't needed a calculator in math since before calculus. None of my teachers from Calc 1 through differential equations ever let us use them. =\
But for your problem, try using all new batteries, and if that doesn't work, see if you can do a factory reset on it. Sometimes things will just get screwed up with them and you need a format.