Académique Documents
Professionnel Documents
Culture Documents
>> A=[4,6,6;2,-4,2;6,-20,3]
A=
4 6 6
2 -4 2
6 -20 3
>> X=[x;y;z]
Undefined function or variable 'x'.
>> B=[8;4;0]
B=
8
4
0
>> X=inv(A)*B
X=
-6.3077
-0.9231
6.4615
>>
PREGUNTA 2
>> A=[4,2,-4;-2,3,-7;-5,6,5]
A=
4 2 -4
-2 3 -7
-5 6 5
>> X=[x;y;z]
Undefined function or variable 'x'.
>> B=[2;-1;4]
B=
2
-1
4
>> X=inv(A)*B
X=
0.4575
0.7647
0.3399
>>
PREGUNTA 3
>> A=[-4,-5,2,4;8,-7,-5,7;-8,2,1,7;-8,6,-2,5]
A=
-4 -5 2 4
8 -7 -5 7
-8 2 1 7
-8 6 -2 5
>> X=[x;y;z;w]
Undefined function or variable 'x'.
>> B=[-4;-3;2;4]
B=
-4
-3
2
4
>> X=inv(A)*B
X=
0.3579
0.9536
0.3573
0.3712
PREGUNTA INV
>> A=[-5,2,5;4,3,6;1,2,5]
A=
-5 2 5
4 3 6
1 2 5
>> A'
ans =
-5 4 1
2 3 2
5 6 5
>>
MULTIPLICACION DE MATRICES
>> A=[-5,2,2;4,2,1]
A=
-5 2 2
4 2 1
>> B=[2,6;4,3;5,7]
B=
2 6
4 3
5 7
>> A*B
ans =
8 -10
21 37
>>
Pregunta…………
>> ((2-5/3)^-2/3)^6
ans =
729.0000
>>
Pregunta……….
>> 45+(cos(3*pi)/2+sin(2*pi/3)/2+5/2)^1/3
ans =
45.8110
>>
Pregunta……..
>> (sin(pi/8)+45)/sqrt(2-4/7)
ans =
37.9699
>>