Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 1 Polynomial Class Due Date: 2/17/2019 11:59pm These are the instructions for your first programming project. Recall that all code must be written individually

image text in transcribed

Project 1 Polynomial Class Due Date: 2/17/2019 11:59pm These are the instructions for your first programming project. Recall that all code must be written individually and independently. Recall that violating this rule will result in zero credit for the project and probably a failing grade in the course Problem: You will implement and test a preliminary version of the polynomial class, using a small array to store the coefficients of the polynomial in order of increasing exponents following the design pattern of object-oriented approach. Suppose the range of the exponents is in [0, 30) . Use an array as a private member variable . insert0, adding a new term on specific exponent. remove), deleting a term Have a add) method, deciding the parameters and the retum value by yourself. Have a sub0 method, deciding the parameters and the return value by yourself. A printout0 method to display the polynomial expression. And other variables, or methods if needed. Do the algorithm analysis on the implemented method, and give the big O notation estimation . . You will also need to write a PolynomialTest program to initialize two linear polynomial objects and apply the operation on it and also display the result. For example, P1=x + 3x5 7x^- 2x - 5x In this project, only one variable is considered, we don't have the polynomial such as x+3x* 3 What to hand in? report includes problem statement, analysis of ALGORITHM COMPLEXITY, A algorithm design, program Input/Output, and tested result (analysis your result) A printout of all your program file .The source program (like file "projectl java") and executable program Each program should have the following in the beginning // Program Name:The name of your program file- / Programmer: .

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What should be the next steps for this team? (D3, D10)

Answered: 1 week ago