Expanding symbolic answers

Expanding symbolic answers - Need help with displaying symbolic expression in different form - Messages

#1 Posted: 10/14/2012 6:33:20 AM
Eduard

Eduard

0 likes in 2 posts.

Group: User

Hello, first of all, thank you for a really good program.

My question: Is it possible to display a symbolic expression a a different form. For example, I have a transfer function in factored form, but I would like it expanded so that I can easily find the various coefficients of s, s^2, ... etc.

Is there a way to do this? (probably a noob question?)

Using 0.95
#2 Posted: 10/5/2014 2:27:45 PM
natezimmer

natezimmer

1 likes in 8 posts.

Group: User

sorry to bump an ancient topic but this would be reaaaaallllyyy handy.

For example (-1+λ)*(1+λ)+5 --> = (-1+λ)*(1+λ)+5. I can't find any way to make it perform the multiplication and end up with λ^2 + 4.

Any Ideas?
1 users liked this post
Israel Espinoza 1/26/2024 3:39:00 AM
#3 Posted: 10/5/2014 3:53:13 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote


For example (-1+λ)*(1+λ)+5 --> = (-1+λ)*(1+λ)+5. I can't find any way to make it perform the multiplication and end up with λ^2 + 4.


You can use SMath Studio with Maxima (see signature for download link)
simp.PNG
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Posted: 10/5/2014 6:02:51 PM
natezimmer

natezimmer

1 likes in 8 posts.

Group: User

Wrote

Wrote


For example (-1+λ)*(1+λ)+5 --> = (-1+λ)*(1+λ)+5. I can't find any way to make it perform the multiplication and end up with λ^2 + 4.


You can use SMath Studio with Maxima (see signature for download link)



Did I ever mention how handsome you are?
That portable plugin w/ max version is aawweeessomme!
I would thank you a million times but I get an error when I try to do it even once.
#5 Posted: 10/5/2014 6:45:13 PM
natezimmer

natezimmer

1 likes in 8 posts.

Group: User

Edit:

Still having issues. I can't prevent max from factoring.
if I change the example to (-2+λ)*(1+λ)+5 --> 3+λ*(-1+λ)

I've tried expand, multthru ...ect without luck. Attempting to get λ^2 -3*λ +λ
#6 Posted: 10/5/2014 7:33:06 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Sometime Maxima-results are modified by SMath's simplifier. If you set optimization->None then you get the original Maxima answer.

Maxima(expandwrt((-2+λ)*(1+λ)+5,λ))=λ^2-λ+3
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
  • New Posts New Posts
  • No New Posts No New Posts