Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello!
example:
Pk=Gk+Gk2+Gk3=10kN+20kN+15kN=45kN
is it possible to show "kN" only at the end?
To do what your example shows requires using the symbolic processor. The symbolic processor doesn't recognize units; to that processor kN is merely another variable name. So I believe the answer to your question is "no."
Now, watch somebody prove me wrong!
Only so I think:
I thought about some default feature...
ok, I can write equations without units, but I need "middle" answer:
Pk := Gk+Gk2+Gk3 --> 10+20+15 = 45
but now I can get only Pk = Gk+Gk2+Gk3 = 45
Its absolutely not clear to me what you want to achieve.
In your first post it looked like Gk have unit kN, in your last not!??
It is possible to let it look like in your first post by using default features
I hope you do not want to see something like 10 + 20 + 15 = 45 kN, because this would be definitely wrong!! Units out of thin air - you shouldn't do that magic production of units. Something like (10 + 20 +15) kN = 45 kN is OK, but AFAIK cannot be shown that way with Mathcad in conjunction with your one line definition and explicit symbolic evaluation.
Fortunately you can't do that in Mathcad using default formatting features. You would have to resort to some trickery like Valery's, by defining kN:=1 and later kN:=10^3*N to regain yor kiloNewtons. Nevertheless your variables would have to be redefined to get the necessary units.
Another dirty trick would involve defining a variable which looks like kN (if you don't mind the red error in the definitions) and later resubstitute it so Pk get real unit N/kN. Again you would have to redefine your Gk. All not to be recommended.
I hope you do not want to see something like 10 + 20 + 15 = 45 kN, because this would be definitely wrong!! Units out of thin air - you shouldn't do that magic production of units.
I agree.
Werner Exinger wrote:
Its absolutely not clear to me what you want to achieve.
There is a standard of calculations documentation in Russia for example:
a=2m b=3cm
c=a+b=2+0.03=2.03m
Valery Ochkov schrieb:
Werner Exinger wrote:
Its absolutely not clear to me what you want to achieve.
There is a standard of calculations documentation in Russia for example:
a=2m b=3cm
c=a+b=2+0.03=2.03m
A standard - really! Hmm, it still looks wrong for me. But maybe I'm just showing being a stickler.
Werner Exinger wrote:
Valery Ochkov schrieb:
Werner Exinger wrote:
Its absolutely not clear to me what you want to achieve.
There is a standard of calculations documentation in Russia for example:
a=2m b=3cm
c=a+b=2+0.03=2.03m
A standard - really! Hmm, it still looks wrong for me. But maybe I'm just showing being a stickler.
It was a standard of old times without computers.
One man calculates - another checks it.
with a slide rule for example.
One man calculates - another checks it.
with a slide rule for example.
Probably with one of those really big slide rules.
That is 100% what I want! I need units only in final result, it's enough for me.
But now mathcad work this way: c=a+b --> 2m+0.03m=2.03m
Although seems weird, it is possible to hide units. For the unit use different style say "User 1" and then modify the font color fo that specific style to white.
But we cannot use invisible units with/by explicit operator
And second.
An using invisible variables - one way to the Mathcad House - see http://communities.ptc.com/groups/mathcad-paradoxes