Hi,
For example, suppose I define two length variables:
d1:= 10 m d1:= 2 m
If I define the following formula:
example(w,a):=log10(1+(w/a)^2)
and try:
example(d1,d2)=...
I obtain the error "Operation cannot be performed with units", despite the fact that the argument of the log10 is adimensional.
if you remove the "1" or substitute it with a "0", then it works. It also works if you use (w/a) instead of (w/a)^2