assuming all the variables are non - zero. which lines of code will assign the discriminant the value…

assuming all the variables are non - zero. which lines of code will assign the discriminant the value $b^{2}-4ac$? select 2 options. discriminant = b ** 2 - 4 * a * c discriminant = b * b - 4 * a * c discriminant = b ^ 2 - 4ac discriminant = b ^ 2 - 4 * a * c discriminant = bb - 4ac

assuming all the variables are non - zero. which lines of code will assign the discriminant the value $b^{2}-4ac$? select 2 options. discriminant = b ** 2 - 4 * a * c discriminant = b * b - 4 * a * c discriminant = b ^ 2 - 4ac discriminant = b ^ 2 - 4 * a * c discriminant = bb - 4ac

Answer

Explanation:

Step1: Analyze exponent representation in code

In Python, b ** 2 represents $b^2$. And b * b also represents $b^2$.

Step2: Check multiplication representation

4 * a * c correctly represents $4ac$.

Answer:

discriminant = b ** 2 - 4 * a * c discriminant = b * b - 4 * a * c