It should be pretty easy to do nearly any calculations you'd want to do programmatically using VBscript in a form you create for your data. If you set up a custom form for your ArcPad project where the user selects or enters some values in text boxes, you can retreive those values, perform a calculation, and spit the result back out into a text box or feature class.
If you have any more details about what you're trying to do it'll be easier to explain more specifically what it might require.
Hope this helps