Double integration of a function can be done by using the _____

double-integration-of-a-function-can-be-done-by-using-the

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 done

I got this question in an interview for job.

The origin of the question is Integration topic in portion Beyond the Basics of MATLAB

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.