473,242 Members | 2,323 Online

# division of polynomials

I'm having a problem on how can i make the user enter a polynomial in a single
entry like this 2x^2+3x-4...
i must know how to put that in an array...
then i will make a formula to divide the two polynomial...
thanks a lot...
Aug 30 '07 #1
3 5193
Ganon11
3,652 Expert 2GB
What work have you done so far to solve the problem?
Aug 30 '07 #2
I,m trying to use link list... I make an array that accepts polynomial... for example, the user input 2x^2+3x-4... Then i'm trying to convert each char of that array into a numeric coefficient, non numeric coefficient, and exponent...
I'm using If() statement to compare each char of that string to know if it is a coefficient or exponent...
Sorry if my statement is unclear...
Hope you can Help me..
thanks...
Aug 31 '07 #3
dmjpro
2,476 2GB
I,m trying to use link list... I make an array that accepts polynomial... for example, the user input 2x^2+3x-4... Then i'm trying to convert each char of that array into a numeric coefficient, non numeric coefficient, and exponent...
I'm using If() statement to compare each char of that string to know if it is a coefficient or exponent...
Sorry if my statement is unclear...
Hope you can Help me..
thanks...
You better to post Some Code here with Code tags then we will be able to solve your problem!
Ok.

Kind regards,
Dmjpro.
Aug 31 '07 #4