Which of the following answers provides the value of x for N = 100 in the following scheme?x = 1for i = 1:Nx = x + 1/xdisp(x)end

🎲 Try a Random Question  |  Total Questions in Quiz: 64  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
ME101: Final Exam - Introduction to Mechanical Engineering — practice the complete quiz, review flashcards, or try a random question.

MCQs on the basics of Mechanical Engineering.


Which of the following answers provides the value of x for N = 100 in the following scheme?<br>x = 1<br>for i = 1:N<br>x = x + 1/x<br>disp(x)<br>end