1.

Double integration of a function can be done by using the _____ command.(a) int(int(func))(b) int(‘int(‘func’)’)(c) quad(int(func))(d) cannot be doneI got this question in an interview for job.The origin of the question is Integration topic in portion Beyond the Basics of MATLAB

Answer»

Right choice is (a) INT(int(func))

For explanation I would SAY: A function, as an input to the quad() command, should be WITHIN a string argument. The int() command cannot take string arguments. Hence, we can use the command int(int(func)) to find the double integral of a function.



Discussion

No Comment Found

Related InterviewSolutions