1
$\begingroup$

I often find myself wanting to know the dimensions of large-ish expressions. Something like $\frac{e^2}{4\pi m \omega^2 \epsilon_0}$ say. I know I can evaluate this by hand, but I'd really enjoy some code that can double check, and do things much faster than I. Is anyone aware of such a resource?

$\endgroup$
5
  • 2
    $\begingroup$ My suggestion is to keep a short list of the mass/length/time/current exponents for the harder-to-remember quantities, like $(-1,-3, 4, 2)$ for $\epsilon_0$. Then you just combine a few of these “vectors”. It will probably be faster than the alternatives. $\endgroup$ Commented Jul 9 at 16:53
  • $\begingroup$ Aside from the other comment, if you have access to Mathematical you can also define all your constants that would have units and then your result can be simplified for any combination of them. Aside from that making your own code with any language you find easiest to use is a good way to learn this stuff. $\endgroup$ Commented Jul 9 at 16:56
  • 1
    $\begingroup$ Mathematica can also do unit conversions when everything isn’t in SI. $\endgroup$ Commented Jul 9 at 16:59
  • 1
    $\begingroup$ There are also various Python libraries. $\endgroup$ Commented Jul 9 at 17:06
  • 3
    $\begingroup$ I’m voting to close this question because questions on software recommendations are generally considered off-topic. $\endgroup$ Commented Jul 9 at 17:54

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.