Vous êtes sur la page 1sur 2

Q1/

x=100;
r=5;
A=pi*r^2;
B=x^2;;
for i=1:3
x=100+1.25*r;
r=x/20;
A=pi*r^2;
B=x^2;
end
A
B
Q2/A/

1-a

2-b

3-c

4-d

5-a

Q2/B/

The name MATLAB stands for MATrix LABoratory

1. Math and Computation.


2. Algorithm development.
3. Modeling, simulation and prototyping.
4. Data analysis, exploration and visualization.
5. Scientific and engineering graphics.
6. Application development, including graphical user interface building.

Q3/

1) diff('(x^2-2)/x^2')
2) int('x/sqrt(x^2-4)')
3) limit(sqrt(x)*(x^2+1),x,1)

Q3/B/

M(4,3)=7
Q4/

a. B=A(1, : )
b. diag(A)= 2 7 9
c. C=inv(A)
d. Inner matrix dimensions must agree
e. K=A.*C

Vous aimerez peut-être aussi