10 likes | 112 Views
RAT 11.1. As in INDIVIDUAL you have 2 minutes to answer the following question. What is the FINAL value assigned to y in the following segment of MATLAB code? x = 0; while x < 5 y = sqrt(x); x = x + 1; end When asked, you have 30-seconds to submit your paper.
E N D
RAT 11.1 • As in INDIVIDUAL you have 2 minutes to answer the following question. • What is the FINAL value assigned to y in the following segment of MATLAB code? x = 0; while x < 5 y = sqrt(x); x = x + 1; end • When asked, you have 30-seconds to submit your paper. • Answer: y = 2 ENGR 111A - Spring 2004