exponents with units
exponents with units
(OP)
I have a problem in Mathcad with declaring expressions like Exp(Var) were Var has a unit like meter. Get the message that "cant have anything with units here". Anybody knows how to avoid this kind of errors, other than removing the units.
Thanks in advance
Tor
Thanks in advance
Tor





RE: exponents with units
If you have an equation where you have units left over in the exponent, the equation is simply wrong or you've ignored a unit somewhere in other term(s) of the exponent.
A typical exponent using range would look like exp(-alpha*range). In these cases, alpha always has units of length^-1. There are no exceptions.
Another typical form is exp(-V/kT). Needless to say, k's equivalent dimension is always volts/degree or something similar.
TTFN
RE: exponents with units
Bung
Life is non-linear...