Find the roots of a quadratic equation | 401

   

Please fulfill all requirements in the file
I don't want a match with students or resources

Find the Roots of a Quadratic Equation.

The standard form of a quadratic equation is:

ax2 + bx + c = 0, where

a, b and c are real numbers and

a != 0

The term b2-4ac is known as the discriminant of a quadratic equation. It tells the nature of the roots.

1. If the discriminant is greater than 0, the roots are real and different.

                       

2. If the discriminant is equal to 0, the roots are real and equal.

     

3. If the discriminant is less than 0, the equation has no real root.

I. Project Phase 1 questions:  

In the first phase of this project, you are requested to 

1. Write an algorithm for a quadratic equation solver.

2. Implement the class Main with the main method. Declare the variables and compute the discriminant.

3. After computing the discriminant value, insert the following code after completing the missing instructions. Don’t forget to add comments.

if (discriminant > 0) {

}

else if (discriminant == 0) {

}

else {

}

Example: 

If a, b, and c are set to 3, 1 and 2 respectively, the equation has no real root.

II. Marking Criteria

   

Criteria 

Marks 

 

The program is bugs-free

/5

 

The source code is well documented (commented)   and program uses standard Java naming conventions

/5

 

Question 1 

/10

 

Question 2

/10

 

Question 3

/10

 

Output screenshots provided in the report

/10

 

Total

/50

 

Final Grade

/5

Answer

1.  Brief description

Provide a brief description of your program in this section.

2. Algorithm

Provide the algorithm for the quadratic equation solver

3. Program code

Put the code of your program in this section. Do not forget to document (comment) your code.

4.  Screenshots 

Put the different screenshots with a brief description in this section. 

5. Difficulties Faced

Provide a brief description of difficulties and challenges faced during this phase of the project.







Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Get 15% OFF on your FIRST order. Use the coupon code: new15