Skip to main content
April 25, 2010
Question

automatic substitution of symbolic results

  • April 25, 2010
  • 3 replies
  • 7892 views
Hi,

I am facing problem in automatic substitution of symbolic results. I would like to know how in mathcad the symbolic result obtained from previous expression can automatically be used in the next steps. Problem is more clearly stated with a simple example in the attached mathcad file.

Thank you,

Bhela

3 replies

1-Visitor
April 25, 2010
On 4/25/2010 10:17:59 AM, hsbhela wrote:
>Hi,
>
>I am facing problem in
>automatic substitution of
>symbolic results. I would like
>to know how in mathcad the
>symbolic result obtained from
>previous expression can
>automatically be used in the
>next steps. Problem is more
>clearly stated with a simple
>example in the attached
>mathcad file.
>
>Thank you,
>
>Bhela
______________________________

You are using the word "substitution" instead of "assign-define". That's the way it works or known to work. It has to be this way because in general the definition will carry parameters that have nothing to do with the symbolic, like in the DE Laplace solver, thus not losing the generality of the setup.

Your example [if the one catched from Rich] is a non sense. You must realise that if you reinject the solution of one variable vs the other, the back substitution returns the value you have solved for. Mathcad 11 and probably 14 does exactly what you are asking for. You can plug manually, the solved argument. But that is totally useless to plug back the solving argument as it will return the value solved for.
The general case works like it has always been working. A CAS like Mathcad obeys the rules that apply and not any rules that don't apply. The rule you are trying to apply is not a rule.

jmG
1-Visitor
April 25, 2010
... I will leave it there as a qs tutorial to use if working directly in 14 or reconstruct and try. Everything should be clear how to handle the solver c/w an introduction to the "RootOf". This should reply completely to your "substitution" but more generally.

jmG
1-Visitor
April 25, 2010
On 4/25/2010 10:17:59 AM, hsbhela wrote:
>Hi,
>
>I am facing problem in
>automatic substitution of
>symbolic results. I would like
>to know how in mathcad the
>symbolic result obtained from
>previous expression can
>automatically be used in the
>next steps. Problem is more
>clearly stated with a simple
>example in the attached
>mathcad file.
>
>Thank you,
>
>Bhela
_____________________________

You can always try to use the "Symbolic compactor". This example does not compact really because the result is too short. In many instances it does well, like the DE example in black.

jmG



April 25, 2010
Hi jmG,

The way you described is not working on my mathcad14. The part "return(SOL solve x)" is not yielding the value of "x". So please let me know the possible problem.

And is this the only way we to automate the substitution of symbolic expressions in mathcad?

Thank you,

Bhela
19-Tanzanite
April 25, 2010
On 4/25/2010 12:21:58 PM, hsbhela wrote:
>Hi jmG,
>
>The way you described is not
>working on my mathcad14. The
>part "return(SOL solve x)" is
>not yielding the value of "x".
>So please let me know the
>possible problem.

It works the same in 14 as in 11, but it doesn't do what you asked for. Do it the way Rich showed.

Richard
3-Newcomer
April 25, 2010
Please see attached. I have not done this much, but the symbolic result is available this way.

Rich
http://www.downeastengineering.com/