## Mike Mc Dermott

Michael McDermott

## 3 Badges

17 years, 93 days
Self Employed
Circuit Analysis Engineer
Kokomo, Indiana, United States

## I'm available to help with migration of ...

I used Mathcad for several years, starting around 1985. I switched to Maple in 2016, and have been using Maple ever since. My education and experience is in Electrical Engineering, but I've developed tools for other areas such as a Go-Kart calculator, and evaluating financial data.

## Thanks...

Thanks for the reply. I'm not up on graph theory, but I think I can learn a lot studying your work.

## `print/...` and `value/...`...

Thanks Carl,

That's good information. I've yet to comprehend typesetting.

What I would really like is to be have a procedure accept something like and return

## I hope I'm not being frustrating....

I tried to add a message to this thread with an attached worksheet yesterday, but I don't see it here.

The message from Carl Love 26292 is helpful. But I ultimately want Maple to produce results using the parallel operator using commands like the simplify function.

Here is what I am trying to do. First, I generate an expression using Maple Syrup.

* Netlist 1
I1 0 1
R1 1 2
R2 2 0
R3 1 3
R4 3 0
*RB 2 3
.end

Then I would use something like this, to simplify the expression using the parallel operator

Here is a more complicated example created from Maple Syrup and its simplification.

* More complicated expression
I1 0 1
R1 1 2
R2 2 0
R3 1 3
R4 3 0
RB 2 3
.end

Syrup produces this:

I would like to have a procedure that can simplify the above expression to this form

In this case, the expression is not only simpified by using the parallel operator, but also in a form where RB is isolated from the other variables, for ease of understanding how this variable affects the result. Because there are 5 variables, there are 5 such possible results like this, so the procedure would need to have an arguement to specify the variable to isolate. Also, this expression is written in such a way so that the result can be visually approximated as RB approaches infinity.

The expression can also be written in such a way that visual approximation can be done as RB approaches 0. Therefore, the "simplify" function would need an arguement for the desired form of the isolated variable (0 or infinity).

## more clarity...

Thanks for the help see attachment.

## Where is the Operators palette?...

This is what I see.

## display? Eq1?...

EQ1 is an expression that can be simplified using a parallel operator, which is shown in EQ2. I see your confusion as the only way I knew to show it here is in 1D form.  I should have taken an image from my worksheet.

Ultimately, I would like the simplify function to make use of the parallel operator to simplify an expression such as EQ1 into form of EQ2.

I need to read up on infix notation.

## Thanks Carl Love 25905...

Your suggestion is even better.

## Thanks Carl Love 25905...

It is my recollection that I used optimize before with what seemed to be improvement in efficiency using the cost function, but no noticable improvement in calculation speed as measured by the time[real] function.

I will have to try again with a real-world problem.

## option tryhard has same result...

with(codegen, optimize, makeproc, cost, prep2trans);
f2 := [r1 = a + b + c, r2 = a + b];
optimize(f2);
=
r1 = a + b + c, r2 = a + b

optimize(f2, tryhard);
=
r1 = a + b + c, r2 = a + b

## Thanks....

@Carl Love
That is the information I was looking for. Is is possible for maple to add more information in the error messages, like which top-level procedure produced the error?

## There are no hits on 'PD' either in my m...

l thought PD was a command based on the error message.
As far as I know, i am not performing recursive calculations. That's why the error messaged confused me.

## thanks...

Thanks for the answer. it's probably just as easy to create a Table from other commands. I think it would be a good feature to add to allow an optional arguement to the Tabulate command to set column widths.

## I don't mean with the gui, with a comman...

I don't mean with the gui, with a command.

 1 2 Page 1 of 2
﻿