I am assuming that you are using TiddlyWiki 5
It is possible but at the moment there isn't much in the way of math plugins for tiddlywiki. I have made some basic things
here and Tobias made a calc macro
here. There may be some others that I am not familiar with. There is also the
socialcalc plugin you could look at. This does sound like something that could be useful to a pretty wide audience and may be a good candidate for a plugin or edition.
I am in the middle of moving and have way too many projects as it is, but I may look at this once I get settled in Paris. If you have any more specific idea of what you want that would help a lot.