Skip to main content
10-Marble
July 5, 2011
Question

Options for displaying symbolic results?

  • July 5, 2011
  • 3 replies
  • 3787 views

Hi,

if I have a polynomial resulting from a symbolic calculation say H(s)--->As^2+Bs+C, is it possible to get Mathcad to display it in the form s^2+(B/A)s+C/A? I'm not sure what the technical term is for this though if someone reminded me I'd probably remember!

Thanks,

D

3 replies

24-Ruby III
July 5, 2011

Hello!

Maybe this will help:

Expand.jpg

DaveWooff10-MarbleAuthor
10-Marble
July 5, 2011

Thanks for that, I already thought of it but it didn't quite work out nicely and I wondered if there was an "automatic" way to do it. It's not a massive problem, it's just that some common forms of various equations exist in the literature and it would be nice to get the output to match up.

e.g. in electrical filters H(s) = s^2 + 2.wo.s/Q + wo^2.

I've attached a quick example

Many thanks,

D

1-Visitor
July 5, 2011

I'm sure you'll have to divide both sides of the equation by A, to get the results in the format shown.

Mike

19-Tanzanite
July 5, 2011
if I have a polynomial resulting from a symbolic calculation say H(s)--->As^2+Bs+C, is it possible to get Mathcad to display it in the form s^2+(B/A)s+C/A?

No, because that is not another form of the same polynomial. Normalizing by the first coefficient yields a different polynomial, so you must explicitly do that (as shown by Vladimir).

DaveWooff10-MarbleAuthor
10-Marble
July 5, 2011

Sorry, yes and thanks for correcting me I probably mislead everyone on that point and confused myself in the process. I should have used the following example (in which I wanted to divide throughout by A):

As^2+Bs+C

-----------------

As^2+Ds+E

but I can now see that I was asking a silly question anyway. I apologise for the wasted time and effort.

19-Tanzanite
July 5, 2011
Sorry, yes and thanks for correcting me I probably mislead everyone on that point and confused myself in the process. I should have used the following example (in which I wanted to divide throughout by A):

As^2+Bs+C

-----------------

As^2+Ds+E

You mean like in the attached? It's an ugly way of getting there, but the only one I can think of.

I apologise for the wasted time and effort.

Don't worry about that! Nobody here has any obligation to respond to posts, so if they think it's a waste of time they don't need to respond. And if they think it's waste of time and respond anyway, then they can only point the finger at themselves..

big_grin.gif