473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

division of polynomials

hi to everyone... i'm new here... please help me...
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...
please help me...
thanks a lot...
Aug 30 '07 #1
3 5215
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

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Chris | last post by:
Does anyone know of a good standalone implementation of multivariable polynomials in python? Thanks, Chris
7
by: adrin | last post by:
hi, anyone knows how does an algorithm for calculating GCD of two polynomials look like ? please help me if you can, or give some relevant links :)
2
by: dicapryl | last post by:
Hi all! I'm new to here .. so please excuse me if my questions are unclear etc :) I am trying to store polynomials in C++ using linked lists. My class is called Polynomial and i've created a...
22
by: jamestuck21 | last post by:
Hi, I'm trying to work out a binary division problem 1100 / 101010101010111 Here is what I have so far but I'm not sure if I'm doing it correctly and I'm suppose to continue the division...
4
by: Matthias | last post by:
how do i make a program that gets numbers from a user. and then stores it into an array. using polynomials if the user entered 7 5 4 3 2 the polynomial would be 7x^4+5x^3+4x^2+3x+2 the program...
1
by: unknowncute | last post by:
can you help me make a code about division of polynomials using linked list? thnx!
1
by: Motanyane Tlotliso | last post by:
I wish someone to help me in creating a programm in C++ that can be able to sum two polynomials, subtract one from the other and multiply both polynomials together using a ADT's(struct term). I...
6
by: awais888 | last post by:
i need a code to multiply two polynomials in galois field 2 in c# or c++, polynomials will be entered by user in integer (decimal values).
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.