Refer to the previous page 4 to answer this question Once th
     Refer to the previous page (4) to answer this question. Once this program has completed. Indicate where the robot will be located by selecting the correct choice below. Circle the letter to the left of the selection to indicate your answer  upper left corner  upper right corner  center top of grid  center bottom of grid  off the left side of the grid  off the right side of the grid  while it is not a good idea to write complicated formulae in programming, someone sneaked in and wrote the following expression when the examination author wasn\'t looking  x = (-b + sqrt(b^2 - 4*a*c))/2* a;  From the following, select the most correct statement about the expression shown. Circle the letter to the left of the selection to indicate your answer  the first operation that will be conducted Is the b^2 - 4 * a * c operation will be calculated within the parentheses  the first operation that will be conducted is the -b + sqrt operation will be calculated within the parentheses  the first operation that will be conducted Is the 4 * a * c operation  the first operation that will be conducted is the b^2 operation  all of the above statements are correct  none of the above statements is correct  From the following, select the most correct statement about the expression shown Crete the letter to the left of the selection to indicate your answer.  for purposes of Matlab operations, this expression is a fully correct  for purpose of Matlab operations, this expression has a mistake in the numerator  for purpose of Matlab operation, this experiment has a mistake in the denominator  for purposes of Matlab operations, this expression has a mistake in both the numerator and denominator  all of the above statements are correct  none of the above statements is correct 
  
  Solution
7)
 Ans a)for purpose of matlab operation , this expression is fully correct.
example: % This m-file will solve the quadratic equation :ax^2 + bx + c = 0
function Quad= Quadratic(A,B,C)
% A=1;
 % B=2;
 % C=3;
 %If-Else statement for if A=0
if A==0,
 X= -C/B;
 else
 X(1) = (-B+sqrt(B^2-4*A*C))/(2*A);
 X(2) = (-B-sqrt(B^2-4*A*C))/(2*A);
disp(X(1))
 disp(X(2))
 fprintf(\'X(1) = %f \ \',X(1));
 fprintf(\'X(2) = %f \ \',X(2));
   
end
6)
 Ans a)the first operation that will be conducted is b^2 operation
Explanation:Because the operator () has higher precedence and ^ operator is inside () .so first operation will be b^2.

