# Differentiation – 2 MCQ’s

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Differentiation – 2″.

1. An example of a function whose derivative (any order) with respect to x is never 0, in MATLAB, is _______
a) sin(x)
b) xn
c) ex
d) does not exist

2. The method of differentiation in MATLAB is pertinent for getting __________
a) Higher order differential equations
b) Lower order differential equations
c) Any order differential equation
d) A certain ordered differential equation, within a range

3. While solving a differential equation, MATLAB will show us the ___________
a) General Solution
b) Particular Solution
c) Complementary function
d) Depends on the equation

4. What is the co-efficient of the output of the code?

`diff(x90,39)`

a) 0
b) 90!/39!
c) 90!/50!
d) Error

5. The output of the following code will be _____________

`syms t; dsolve(D(y,t)==2*t)`

a) Error
b) t2
c) t
d) t2+C

6. The ode 23 solver is for higher accuracy.
a) True
b) False

7. What is the error in the following code?

`diff(‘x87+86’,23)`

a) No error
b) Arguments as strings
c) 23 is not given within a pair of inverted commas
d) There is no command as diff

8. The ode45 takes the function as ___________
a) Simple input argument
b) String argument
c) Input argument
d) Function argument

9. There are 7 ODE solvers in MATLAB.
a) True
b) False

10. What is the output of the following code?

`syms y; dsolve('y*diff(y)+5=x*exp(3)','y')`

a) Error
b) C + (x*(x*exp(3) – 10))/2
c) Cannot be determined
d) 0 5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%