1.

The code quad(‘x.^2’,-3,2) is same as ___________(a) quad(‘x.^2’,-2,3)(b) quad(‘x.^2’,-3,2)(c) quad(x.^2,3,-2)(d) quad(‘x^2’,-2,-3)The question was asked in examination.I'm obligated to ask this question of Integration in division Beyond the Basics of MATLAB

Answer»

Correct answer is (a) quad(‘x.^2’,-2,3)

The best EXPLANATION: SINCE the FIRST limit provided to our quad command is a lower limit, we will get the answer same for the code quad(‘x.^2’,-2,3). We need to give the input function with the ‘ . ‘ operator since we are computing the value for EVERY instant and it is ADDING up.



Discussion

No Comment Found

Related InterviewSolutions