Question: Is the value for root_from_plus correct? Is the value for root_from_minus correct? MATLAB Quadratic Formula (formula with variables, static script) If a second order polynomial

 Is the value for root_from_plus correct? Is the value for root_from_minus

Is the value for root_from_plus correct?

Is the value for root_from_minus correct?

MATLAB

Quadratic Formula (formula with variables, static script) If a second order polynomial is written in the general form: ax2+bx+c=0 then the roots (i.e. the values of x that satisfy the equation) can be determined using the quadratic formula: x=2abb24ac Code has already been provided to create the three variables a, b, and . that define a quadratic polynomial. Write commands to determine the two roots of this polynomial. Assign the result using addition to the variable root_from_plus and assign the result using subtraction to the variable root_from_minus. Script ? 1 \%Define variables a,b, and c a=2; b=3; c=20; \%Enter commands to evaluate the expression and assign the results \%to the variable names given in the problem statement. Note the values of the 8 \%variables a,b, and c are defined in lines 2-4. Be sure not to overwrite these 9 \%values in your code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!