Академический Документы
Профессиональный Документы
Культура Документы
2𝑥 + 4𝑦 + 6𝑧 = 18
{ 4𝑥 + 5𝑦 + 6𝑧 = 24
2𝑥 + 7𝑦 + 12𝑧 = 40
APAZA =
2 4 6
4 5 6 10
2 7 12
>> CORINA=[18;24;40]
CORINA = 5
18
24
40 0
>> [L U]=lu(APAZA)
L=
-5
0.5000 0.3333 1.0000 5
1.0000 0 0 6
0.5000 1.0000 0 4
0 2
U= 0
-2
-5 -4
4.0000 5.0000 6.0000
0 4.5000 9.0000
0 0 0
>> X=L*U\CORINA
X=
NaN
Inf
-Inf
>> [x,y]=meshgrid(-4:0.5:5);
>> z1=(18-4*y-2*x)/6;
>> z2=(24-5*y-4*x)/6;
>> Z3=(40-7*y-2*x)/12;
>> surf(x,y,z1)
>> hold on
>> surf(x,y,z2)
>> surf(x,y,z3)
29.- mostrar graficamente
2𝑥 + 𝑦 + 3𝑧 = 0
{ 𝑥 + 2𝑦+= 0
𝑥 + 3𝑦 + 2𝑧 = 0
2 1 3
1 2 0
0 1 1
CORINA=[0;0;0]
CORINA =
0
0
4
0
[L U]=lu(APAZA) 2
L= 0
1.0000 0 0 -2
0.5000 1.0000 0
-4
0 0.6667 1.0000
-6
U= 5
2.0000 1.0000 3.0000 4
6
0 2
0 1.5000 -1.5000 0
-2
0 0 2.0000 -5 -4
X=L*U\CORINA
X=
0
0
0
APAZA =
2 1 3
1 2 0
0 1 1
>> [x,y]=meshgrid(-4:0.5:5);
>> z1=(-y-2*x)/3;
>> z2=-y
>> surf(x,y,z1)
>> surf(x,y,z2
30.-mostra gráficamente la ecuacion
𝑥 + 2𝑦 + 2𝑧 = 1
{ 𝑥 + 3𝑦 + 𝑧 = 4
𝑥 + 3𝑦 + 2𝑧 = 3