Rank: Newbie
Groups: Registered
Joined: 10/12/2014(UTC) Posts: 6
|
Hi everyone, I tried resolve the problem with units in "if" function but I cant. The formula is: The b value is not resolved and has no units. What is wrong? What should I to do to fix it? Janusz Janusz attached the following image(s):
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
You compare b.0 (length, 2.55 inches) to unitless 0.25 (what? meters? picas? kilograms?). You should: 1. Compare unit-wise (if b.0<=0.25*'in) 2. Remove units in "else" clause to make unitless result (if you need it like that): 2.52*sqrt(b.0/'in) or, alternatively 2a. Use units in first option (before "else" ): 1*'in, AND restore units in "else" clause": 2.52*sqrt(b.0/'in)*'in Edited by user 10 December 2014 12:45:58(UTC)
| Reason: Not specified |
Best regards, Mike Kaganski |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/12/2014(UTC) Posts: 6
|
Works perfectly! Thank You! Janusz Janusz attached the following image(s):
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.