I need to find a simple method for storing a specific whole number in say- a polynomial. If the user inputs:
2x^3 + 5x^2 - 8x + 3
I basically want to create a list (thinking this will be the easiest method) of [2, 5, -8, 3] as f(x) and then another list for g(x) so I can add them/subtract them later. I'm completely stumped on how to do this and I want the user to input the whole polynomial at once. I dont want my program to ask it in parts. Thanks:) (PS I'm going out for about half an hour/45 min so I will get back to this when I am home. Thanks again!)