Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Symbol evaluation (move to Electrical Engineering)

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-18-2020
06:15 PM

09-18-2020
06:15 PM

Hi

I post this question before but I think I did not label Electrical Engineering but Knowledge base instead. I moving this question to Electrical Engineering

Question: Is there a way to substitute a symbol into a symbolic question to simplify the symbolic equation further?

Thanks a lot for all the helps

rdliquid

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-19-2020
08:07 PM

09-19-2020
08:07 PM

8 REPLIES 8

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-19-2020
03:28 AM

09-19-2020
03:28 AM

Re: Symbol evaluation (move to Electrical Engineering)

Hi,

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-19-2020
05:16 AM

09-19-2020
05:16 AM

Re: Symbol evaluation (move to Electrical Engineering)

One way to do it is to provide the equations not using the assignment operator (:=) but rather with the fat boolean equal sign and let Prime solve each equation for the variable you would like to be substituted. Of course the results would have to be assigned the appropriate variables.

As the equations are so simple it probably would be less effort to manually solve the equations in your head and simply provide the results as MFra also had done:

Prime 6 worksheet attached

BTW, the labels you apply to your posts don't really matter. I think these labels are hardly noticed by anyone.

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-19-2020
08:07 PM

09-19-2020
08:07 PM

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-19-2020
08:41 PM

09-19-2020
08:41 PM

Re: Symbol evaluation (move to Electrical Engineering)

Sorry I have a little of problem when I did it the way Werner_E recommended. Technical it is correct but can be reduce further. Please see below:

I do not know the difference between the two and yet it gives 2 different results:

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-20-2020
03:09 AM

09-20-2020
03:09 AM

Re: Symbol evaluation (move to Electrical Engineering)

The problem is due to Primes annoying auto-labelling errors.

Look at the variable c.5134 in the definition of R.l and in the expression you'd like to be simplified. They both must have the same label. In your version, the label in R.l is "(-)", meaning automatic and in the larger expression its "Variable". Change manually either label to match the other and it will work.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-20-2020
10:30 AM

09-20-2020
10:30 AM

Re: Symbol evaluation (move to Electrical Engineering)

Hi Werner_E,

Sorry but I do not know what you mean by "-" in the definition of my R.l. I do not see it

I looked at yours and my definition of variables, they look identical, the only difference is "-" between the

denominator and the numerator, my is darker and your is much lighter. Do you know why it is like that?

Thanks for your helps

Rdliquid

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-20-2020
11:45 AM

09-20-2020
11:45 AM

Re: Symbol evaluation (move to Electrical Engineering)

I was talking about the "label" a name can have. The options are "Variable", "Unit", "Constant", "Function", "System", "Keyword" and (actually the first in the list) "Automatic". The latter is denoted by a dash "-".

See http://support.ptc.com/help/mathcad/en/index.html#page/PTC_Mathcad_Help/about_labels.html

Prime tries to assign the appropriate label when you type along, but ever so often fails - especially when it comes to symbolic evaluations (the symbolic doesn't know anything about units and labels).

There is an calculation option one can turn on to support units and constants in symbolic calculation. Sometimes it helps - ever so often it doesn't.

So click on the variables and look at how they are labelled. You may change the label via the menu or the keyboard shortcut Ctrl-Q.

The important thing seems to be that both must have the same label (either both "-"/"Automatic" or both "Variable"). Otherwise the symbolic engine treats them as two different variables and so they don't cancel.

I just see that all variables are labelled "-" and only c.1 and c.5134 are labelled "Variable" when you define R.s and R.l. Not sure why this happened - it may happen when you edit/copy an existing expression a few times, I guess. When I type the assignment from scratch, all variables are labelled "-".

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-21-2020
11:27 AM

09-21-2020
11:27 AM

Re: Symbol evaluation (move to Electrical Engineering)

Hi Werner_E,

Thanks a lot for all your helps. I did not know there is such a feature like that in Mathcad 6.0

I got it now and was able to get it to work

Thanks!

Rdliquid