Question: 1. To symbolically compute , the best MATLAB command is A. diff(cos(x3), 2) B. diff(cos(x3), x, 2) C. diff(cos(x3), sym(x), 2) D. syms x; diff(cos(x3),
1. To symbolically compute , the best MATLAB command is
A. diff(cos(x3), 2)
B. diff(cos(x3), x, 2)
C. diff(cos(x3), sym(x), 2)
D. syms x; diff(cos(x3), 2)
2. To numerically calculate , the MATLAB command you may use is
A. x=0:0.1:10; trapz(x, sin(x^4))
B. quad(sin(x^4),0,10)
C. quad(sin(x.^4),0,10)
D. quad(sym('sin(x^4)'), 'x', 0, 10)
3. To compute , the best MATLAB command is
A. integral(@(x) x.^4.*exp(-2*x),1,3)
B. integral(@(x) x.^4.*exp(-2*x),1,3)
C. integral(@(x) x.^4*exp(-2*x),1,3)
D. int(@(x) x.^4.*exp(-2*x),1,3)
4. To symbolically calculate , the best MATLAB command is
A. int(sym('sin(x.^2)'), 'x', 'a', 'b')
B. int(sym(sin(x^2)), 'x', a, b)
C. int(sym('sin(x^2)'), 'x', 'a', 'b')
D. int(sym('sin(x^2)'), 'x', a, b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
