In this post: https://math.stackexchange.com/a/438618/66675 , Ross Millikan explains how one can use dimensional analysis to check for errors even if the equation itself has no units.
Can someone provide an example of an error that dimensional anaylsis would be able to catch?
He explains how to do so here:
I find unit checks very useful. Even if there are no obvious units, you may be able to find some. Solving a quadratic ax2+bx+c=0 you might say there are no units, but it has to be true even if x is a length. Then a is length−2 and so on. Make sure all your terms match appropriately. This will catch some errors.
But I can't think of an example on how this will be useful if we just make up units. I make a ton of errors and I would like to improve my error-checking skills.