You are on page 1of 2

Subiectul7:

PROBLEMA 1:
>> t=1:0.1:4*pi;
>> function grafic(t)
y=sin(pi+t./2)
z=sin(t)
x=sin(t.^2)
plot(t,y,'ko',t,z,'bo',t,x,'r*')
grid on
xlabel('x')
ylabel('y_1 si y_2')
title('problema1')
endfunction
>> grafic(t);

Problema2:
Format long
A=[0,4,1;2,3,2;4,30,0.001]
Sin(A)
Lg(A)=log10(A)
Tan(A)
A^10.

Problema3:

Format short
V=[1,-14,exp(3),log(21),12,7,-3,sqrt(21)]
-sort(-v)

You might also like