Solved

Assume the Following Variables Have Been Declared as Shown and Given

Question 65

Multiple Choice

Assume the following variables have been declared as shown and given values elsewhere:
double a, b, c;
The discriminant of a quadratic equation is defined to be: Assume the following variables have been declared as shown and given values elsewhere: double a, b, c; The discriminant of a quadratic equation is defined to be:   Which of the following statements will assign the correct value to discriminant?  A) double discriminant = Math.sqrt(b * b - 4 * a * c) ; B) double discriminant = Math.sqrt(b * b)  - 4 * a * c; C) double discriminant = Math.sqrt(b * b)  - Math.sqrt(4 * a * c) ; D) double discriminant = Math.sqrt(b2 - 4ac) Which of the following statements will assign the correct value to discriminant?


A) double discriminant = Math.sqrt(b * b - 4 * a * c) ;
B) double discriminant = Math.sqrt(b * b) - 4 * a * c;
C) double discriminant = Math.sqrt(b * b) - Math.sqrt(4 * a * c) ;
D) double discriminant = Math.sqrt(b2 - 4ac)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents