T Tâm Tây New member Sep 19, 2021 #1 What is the output of the following code? Code: poly[ 1 2 3] A. x + 2x + 3x$^{2}$ B. x$^{3}$ + 2x$^{2}$ + x C. Error D. Cannot be determined
What is the output of the following code? Code: poly[ 1 2 3] A. x + 2x + 3x$^{2}$ B. x$^{3}$ + 2x$^{2}$ + x C. Error D. Cannot be determined
Đ Đức Linh New member Sep 19, 2021 #2 Answer: c Explanation: The input to the poly command has to be within parentheses. If the input is a vector, one can define the vector, prior to giving it as an input, or give the input like poly([1 2 3]). Upvote 0 Downvote
Answer: c Explanation: The input to the poly command has to be within parentheses. If the input is a vector, one can define the vector, prior to giving it as an input, or give the input like poly([1 2 3]).