cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

automatic substitution of symbolic results

hsbhela-disable
1-Visitor

automatic substitution of symbolic results

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
8 REPLIES 8

Please see attached. I have not done this much, but the symbolic result is available this way.

Rich
http://www.downeastengineering.com/

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



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

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

On 4/25/2010 12:29:32 PM, rijackson wrote:
>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
______________________________

I don't understand why it works in Richard 14 and not in yours ? You may have to reconstruct or conclude you don't have the same 14. Whatever it does what you have asked for as you have asked in math language to solve for the cutting plane at level 5 and it plots both, i.e: the function and the cutting plane.

jmG



RichardJ
19-Tanzanite
(To:ptc-1368288)

On 4/25/2010 3:12:00 PM, jmG wrote:

>I don't understand why it works in
>Richard 14 and not in yours ?

It "works" exactly the same in hsbhela's version, my version, and your version.

>Whatever it does
>what you have asked for

It does not do what was asked for. What you did does NOT define x in a way that the symbolic processor can use it in subsequent expressions.

Richard

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

... 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
Announcements

Top Tags