Professional Documents
Culture Documents
Write The MATLAB Program For Each of Following Questions
Write The MATLAB Program For Each of Following Questions
Write The MATLAB Program For Each of Following Questions
b) cosh x dx
c) coth x dx
sin x cos x
2 2
d) dx
1
x 3x 1
3
e) dx
1
1
4) Determine the area of the region between y 2 x 2 10 and y 4 x 16
63 t
5) Suppose that the amount of air in a balloon at any time t is given by v(t )
4t 1
determine if the balloon is being filled with air or being drained of air at t 8
2
5 4 2 4
6 3 2 3
1 3 5 2
A
2 1 3 1
0 1 4 5
a) Find the dimension of A
b) A(:,2)
c) A(3 : 4, :)
d) A(2,:) []
e) A(6,:) 5
f) A(2 : 3,1 : 2) [5 4; 2 1]
g) Find the transpose A (by two different ways).
h) Find A2 and A.^ A , then explain the difference between them.
i) Raise each element of A by the corresponding one.
3
11) Fit a straight line to the following data:
x 1 2 3 4 5 6 7
Y 0.5 2.5 2 4 3.5 6 5.5