Show Bid Request
ADT polynomials w/ integer coefficients
Bid Request Id: 5451
|
|
|
Description:
Design and implement a class that is an ADT (abstract data type) for polynomials (Ax^9 + Bx^7 + ....) with integer coefficients. The coefficients and the degree are data members. The ADT operations include +,-,* and evaluation of polynomials (plug in an integer and evaluate).
For the * of two of these ADT polynomials, all that is needed is the multiplying between two polynomials with 3 or 4 terms (like Ax^15 + Bx^4 + Cx^2) * (Dx^22 + Ex^20 + Fx^14 + Gx^12). If you find an easy way to multiply two 20 or 30 term polynomials, all the better. But all that is required as shown above. Addition and subtraction should be able to work for 30 or 40 term ploynomials however. Dont worry about any division.
Overload +,-,and *, and implement the evaluation as a member function with an int arguement. The evaluation member function returns the value obtained by plugging in its arguement for x and performing the indicated operations. Include a default constructor, a copy constructor, and a constructor that takes two arguements: a pointer to an int and an int(just a dynamic array). Include a suitable destructor and suitable functions to input and output polynomials by overloading << and >>. Write a driver program to test each of the capabilities of this class.
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
Special Conditions / Other:
Please make it extremely simple and easy for a beginner to understand. I am in a beginning C++ OOP class, and have an OK knowledge of pointers, overloading, inheritance, and classes. The main thing I am looking for is a well docemented, simple program that a reasonably OK beginner can understand and learn from.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$14 (USD)
|
Nov 27, 2001 12:23:58 AM EDT
|
9.95
(Excellent)
|
|
|
Hi there! The task is not too complicated, I will do it in a couple of hours. I am used to write extended comments to my code, so it's not a problem too. Sincerely Oleg |
|
|
|
|
|