B Bảo Vy Member Sep 19, 2021 #1 What is the output of the following code? Code: syms n;limit((1+1/n)^n,Inf,’right’) A. Nan B. Inf C. Error D. e(1)
What is the output of the following code? Code: syms n;limit((1+1/n)^n,Inf,’right’) A. Nan B. Inf C. Error D. e(1)
N Ngô Thị Vân New member Sep 19, 2021 #2 Answer: d Explanation: We cannot approach infinity from the right hand side. Hence MATLAB will show an error. If we had given the direction as left or if we had not given any direction, the answer would have been e(1). Upvote 0 Downvote
Answer: d Explanation: We cannot approach infinity from the right hand side. Hence MATLAB will show an error. If we had given the direction as left or if we had not given any direction, the answer would have been e(1).