1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Software to do polynomial calculation

  1. Nov 11, 2013 #1
    Hi,

    I'm looking for a program that will take

    [1 + (1+p)]*p

    and return the unchanged polynomial. i.e. 2p + p^2

    I know that matlab allows u to do polynomial convolution but for my purposes a program that returns the polynomial in the above format will be much much easier to work with.

    Thanks!
     
  2. jcsd
  3. Nov 11, 2013 #2
    Maybe my question wasn't clear but I did find a way to do it in matlab.

    If anyone is curious it's very simple. The key is to define symbols:

    symbs p

    This tells matlab that x and y are symbols not variables.

    Then just do expand or regular operations.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted