Skip navigation
3171 Views 25 Replies Latest reply: Dec 22, 2011 10:16 AM by ptc-1656721 RSS
ptc-4331184 Copper 10 posts since
Nov 15, 2011
Currently Being Moderated

Dec 21, 2011 8:00 AM

Explicit problem?

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,

  • ValeryOchkov Platinum 6,052 posts since
    Sep 26, 2008
    Currently Being Moderated
    Dec 21, 2011 8:30 AM (in response to ptc-4331184)
    Re: Explicit problem?

    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

  • ptc-1176891 Bronze 393 posts since
    Jun 2, 2007
    Currently Being Moderated
    Dec 21, 2011 10:23 AM (in response to ptc-4331184)
    Re: Explicit problem?

    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

    • ptc-1176891 Bronze 393 posts since
      Jun 2, 2007
      Currently Being Moderated
      Dec 21, 2011 11:13 AM (in response to ptc-4331184)
      Re: Explicit problem?

      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

  • ptc-1656721 Bronze 67 posts since
    Jan 18, 2008
    Currently Being Moderated
    Dec 21, 2011 11:46 AM (in response to ptc-4331184)
    Re: Explicit problem?

    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

    Attachments:
    • ptc-1176891 Bronze 393 posts since
      Jun 2, 2007
      Currently Being Moderated
      Dec 21, 2011 11:49 AM (in response to ptc-1656721)
      Re: Explicit problem?

      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.

      • ptc-1656721 Bronze 67 posts since
        Jan 18, 2008
        Currently Being Moderated
        Dec 21, 2011 12:17 PM (in response to ptc-1176891)
        Re: Explicit problem?

        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.

    • ptc-1176891 Bronze 393 posts since
      Jun 2, 2007
      Currently Being Moderated
      Dec 21, 2011 12:40 PM (in response to ptc-4331184)
      Re: Explicit problem?

      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.

    • VladimirN. Platinum 2,338 posts since
      Sep 26, 2010
      Currently Being Moderated
      Dec 22, 2011 12:28 AM (in response to ptc-4331184)
      Re: Explicit problem?

      Gregory Baran wrote:

       

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

       

      Yes. Press [Ctrl] [Shift] [.] and type the keyword "simplify/substitute/float/...".

       

      Gregory Baran wrote:

       

      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?

       

      You need to double click on the black placeholder, which is placed after the units:

       

      Pic_1.png

       

      Gregory Baran wrote:

       

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

       

      That's right.

        • VladimirN. Platinum 2,338 posts since
          Sep 26, 2010
          Currently Being Moderated
          Dec 22, 2011 4:07 AM (in response to ptc-4331184)
          Re: Explicit problem?

          Gregory Baran wrote:

           

          ...i want that it will be...

           

          In a main menu go to "Tools" -> "Worksheet Options" -> "Unit System" -> "Custom".

        • MikeArmstrong Diamond 4,149 posts since
          Dec 3, 2008
          Currently Being Moderated
          Dec 22, 2011 4:26 AM (in response to ptc-4331184)
          Re: Explicit problem?

          moreover same goes to number of decimal places... if i want my whole document on 2 number of decimal places i have to double click then all the time change from 3 to 2... also same goes to exponential threshold... i want that it will be 10.. the basic.. and if i want less or more i will just edit...

          All these options can be set before you start your calculation.

           

          Mike

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 3 points
  • Helpful Answers - 1 points