N Ngọc Hùng Member Sep 19, 2021 #1 What is the output of the following code? Code: meansqr(NaN) A. 0 B. NaN C. Error D. 1
H Huyền Thu New member Sep 19, 2021 #2 Answer: a Explanation: The fuction meansqr() returns the mean of the square of all finite value inputs. Since NaN is not a finite valued input, there are no other finite valued elements in the input. Hence the result is 0. Output: 0 Upvote 0 Downvote
Answer: a Explanation: The fuction meansqr() returns the mean of the square of all finite value inputs. Since NaN is not a finite valued input, there are no other finite valued elements in the input. Hence the result is 0. Output: 0