Skip to main content
1-Visitor
December 21, 2011
Question

Explicit problem?

  • December 21, 2011
  • 6 replies
  • 12293 views

As in the topic... is there any way to avoid that?

http://imageshack.us/photo/my-images/862/mathcad.png/

Moreover I want that my P will be displayed on the kN... where do I change that? and when it will explicit all the symbols.... it will be normal... cause now there is mess all over...

I would be grateful

Greetings,

6 replies

24-Ruby IV
December 21, 2011

Sorry, but I think that explicit in Mathcad and Mathcad Prime is not a tool but a toy.

See explicit in Mathcad PM - http://communities.ptc.com/docs/DOC-2413

1-Visitor
December 21, 2011

hmm... Mathcad PM = Mathcad Prime Minister = Mathcad Prime v2.0?

Sorry but I dont have that..

So there is no solution for my problem? 😕

24-Ruby IV
December 21, 2011

Gregory Baran wrote:

hmm... Mathcad PM = Mathcad Prime Minister = Mathcad Prime v2.0?

Sorry but I dont have that..

So there is no solution for my problem? 😕

Sorry, I think it is one solution of your problem:

a:=b+c

where

b=...

c=...

1-Visitor
December 21, 2011

Trying to re-create your example, EXPLICIT worked fine for me. Remember that it will replace variables with the last assignment (using ":") or the last symbolic evaluation for each variable. It appears each of your three inputs were calculated earlier in the sheet, so those assignments / definitions are what is being explicitly inserted. You'd have to symbolically evaluate those variables to get them to show up the way you want in EXPLICIT.

There was an example sheet by PTC posted to the old website quite awhile ago ... hopefully it's still available and findable on the site somewhere.

Preston

1-Visitor
December 21, 2011
1-Visitor
December 21, 2011

so it's like if i defined:

a:=2

b:= 2*a = 4

c:=a*b explicit,ALL -> 2 * (2*a) = 8

and it should be when i got the result.... i should type somewhere that it wont be printed.. like on the right side of the other page....

a:=2

b:=4

then i will get:

c:=a*b explicit,ALL -> 2 * 4 = 8?

that's what should I do?

1-Visitor
December 21, 2011

Almost ...

a:=2

b:=2*a ...

at this point use the SYMBOLIC evaluation (right-hand arrow off of the SYMBOLICS menu) instead of the equals sign. You can right-click on the expression and choose to show the evaluation as an equals, to make it LOOK like you have it typed. But in the background it's storing "b" as "4" symbolically, instead of "2*a". This is the key to making EXPLICIT work; since it's a symbolic keyword, it will display whatever it has stored symbolically for each variable.

Then when you use EXPLICIT you'll see the "b" substituted as "4."

Preston

1-Visitor
December 21, 2011

Gregory Baran wrote:

As in the topic... is there any way to avoid that?

http://imageshack.us/photo/my-images/862/mathcad.png/

Moreover I want that my P will be displayed on the kN... where do I change that? and when it will explicit all the symbols.... it will be normal... cause now there is mess all over...

I would be grateful

Greetings,

Try this.

explicit_22_12_11.JPG

VyaT

1-Visitor
December 21, 2011

Yep - you either have to re-define your variables as VyaT has done, or you symbolically evaluate them when they are defined. Unfortunately when using the symbolic evaluation you don't get control over what units are stored; it uses the defaults. If those match what you want, score! If not, then you'd have to re-define manually.

1-Visitor
December 21, 2011

Preston Baxter wrote:

... If those match what you want, score! If not, then you'd have to re-define manually.

This, sometimes, not necessarily to do.

To Gregory Baran: Please attach your Mathcad file to the message.

1-Visitor
December 21, 2011

That's exactly what I wanted thank you so much.. VyaT

there are still some question I want to know

what's the shortcut to make those function.. simplify, substitute, float (is this ~left shift left ctrl & "."?)

and about the file you attached there is a score of:

σ.rI = 1.685MPa

if i paste again σ.rI it will be displayed as: σ.rI = 1.685 x 10^6 Pa....

is this possible that it will be in MPa?

i tried in tools > worksheet options > unit system.... changed but that didn't work for me

moreover if the equation is so long how do i make that on the next line? i thought it's ctrl + enter...

1-Visitor
December 21, 2011

However the symbolic engine last sees your variable defined is how it gets re-displayed. So if you define it in MPa, that's what will show up in EXPLICIT.

1-Visitor
December 21, 2011

Look on the attached file of VyaT

type down once again the σ.rI

it will be:

σ.rI = 1.685*10^6*Pa

i thought it can be changed somewhere...

like if i do a:=2kN, b:=3m

I want that it will be in kN*m

and i always change that manually.. from J to kN*m, maybe for what? if I don't have to?

24-Ruby III
December 22, 2011

Gregory Baran wrote (in Mathcad file):

...<<<<<<< some mess here too...

Use this option ("Apply to symbolic results"):

Pic_2.png

Gregory Baran wrote:

...I want that it will be in kN*m...

See the answer from above.

1-Visitor
December 22, 2011

attached a file once agin.. there are still problems :[ much less than before.. but still have some that do not let me complete my calculations

to everyone who reply on that topic... thank you so much:)