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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Symbolic Question

mzeftel
1-Newbie

Symbolic Question

A user asked me to post this for him:

Attached is a copy of Mathcad file I'm working on using Mathcad "SYMBOLIC" calculation. My goal is to substitute my input variables into the symbolic output to get numerical results and plots. Would someone be kind to demonstrate how this is done in Mathcad?

Olubukola Adeboyejo
14 REPLIES 14
StuartBruff
23-Emerald II
(To:mzeftel)

On 12/14/2009 11:36:14 AM, MonaZ wrote:
== A user asked me to post this for him:
== Attached is a copy of Mathcad file I'm working on using Mathcad "SYMBOLIC" calculation. My goal is to substitute my input variables into the symbolic output to get numerical results and plots. Would someone be kind to demonstrate how this is done in Mathcad?

Any chance you could post the file in M11 format please, Mona?

Stuart

too long a worksheet for me:


TTFN,
Eden

I didn't post a Mathcad 11 file, because it looks like a Mathcad 14 issue.

Mona

Not clear what the issue/problem is. The sheet is esseintially a lot of comments (mostly expressions using the = equality predicate) with a lot of manual manipulations. The symbolic processor is used minimally, to evaluate a few of the expressions and integrals.

Since what is in the bulk of the sheet is just commentary, using it involves copying the desired expressions into a different context, where they can be ealuated or used to define functions.
__________________
� � � � Tom Gutman
ELSID
4-Participant
(To:TomGutman)

To add to Tom's comment,
The originator states that certain maths are being done, yet they are not implemented. An example would be between equations 4 and 6. Read the context and see what is actually done. Development of the equations is not done with the symbolic processor
PhilipOakley
5-Regular Member
(To:TomGutman)

Equation 19 needed "substitute" not "simplify"

The chap should consider assigning the equations
as well as merely giving boolean conditionals.
With the assignment approach the worksheet (and
algebra system) can do its own parsing and reach
all the way back.

The assignment can be of the form
Eqn1 := A==B
so that one can later "solve Eqn1"

The other 'trick' is to use the math-styles to
allow the same 'variable' (e.g. "A") to have two
different, accessible, instances so one can use
both the old_A and new_A in the symbolic
substitutions.

I have done this when I needed both a forward and
reverse pass over a set of equations (Initial
values predict final values, then solve for
initial values given final values...)


Finally, normally one would place the Input
Variable page at the beginning, then add the
"undefine step" which is
variable := variable
[the symbolic processor stops when it sees such
recursion, the numeric processor still calculates.

This allows both the numeric AND symbolic
processes to act at the same time. You get both
the symbolic solution and the numeric together!

However, If you do need to clearly explain every
step to the student then often the symbolic
processor just gets in the way - It solves too
quickly 😉 [wink]

Philip Oakley
ELSID
4-Participant
(To:PhilipOakley)

I had not gotten that far, but was going to ask if their is a "substitute" to keep the parsing internal to Mathcad. I have not done a lot of symbolic work. Thank you Philip
PhilipOakley
5-Regular Member
(To:PhilipOakley)

On 12/14/2009 4:15:24 PM, philipoakley wrote:
>...
>Philip Oakley

A quick start at the example...

Philip Oakley

First part

Regards. Alvaro.
PhilipOakley
5-Regular Member
(To:AlvaroDíaz)

Also, go here
http://collab.mathsoft.com/read?81312,8e#81312
to get an example of carrying through substitutions
and solving, and numeric solutions.

OK so it's piles of electrons with poles in it,
rather than piles of sand [wink] but that doesn't
affect the approach!

The onward link still works...

Philip Oakley
PhilipOakley
5-Regular Member
(To:AlvaroDíaz)

On 12/14/2009 4:38:50 PM, adiaz wrote:
>First part
>
>Regards. Alvaro.

I like the bit where you find the real solution for
L.f
Nice work.


Also it calculated all through with V14 M030
(Enterprise..)

Philip Oakley

On 12/14/2009 4:49:01 PM, philipoakley wrote:

>Also it calculated all through with V14 M030 (Enterprise..)

Nice to know, thanks for the advice.

Kind regards. Alvaro.

On 12/14/2009 4:38:50 PM, adiaz wrote:
>First part
>
>Regards. Alvaro.

Thanks Alvaro for your help.

Regards,

Boyer


Would like to thank everybody who participated in this froum, and also thanks to Mona for posting the worksheet for me. You are all great.

Regards,

Boyer
Top Tags