Professional Documents
Culture Documents
Un vector se define con un rango y se evalua solo para ese rango, an y cuando se le agreguen ms
filas al vector.
i 0 5
5
2
7
3
0
1
4
1
2
3
4
5
i j
b b
v 7
2
{4,1}
1
q
"texto"
3
0
1
q
0 2
3
0 0
1 1
0 0
0 1
1 0
1 1
4
b
2 1
1 0
0 1
T 1
b b
1
2
u 1
u 2
u 3
0
1
u
2
3
4
5
6
q "texto"
1 2
4 4
3 1 5
7 8 4
9 2
3 5
T
0.706 0.882
0.49 0.804
9 3
2 5
q 3
c 1534
i1
q 1
0
3
2
w 1
4
0
0
0
2
c
2
0
b 51
3
2
1
4
v 2
a 14
j i
i 1
0 1 2
a 3 4 4
2 1 0
0
1
2
3
4
4
2
1
0
v 5
q
"texto"
v
3
i 0 2
5
2
7
v
3
0
1
Un vector tambin se
puede definir a travs
de subndices.
0.104
0.025
0.121
0.051
9
3
1
c
3
7
0.098 0.039
0.059 0.176
1 28
b b
19
b b b
10 2
3 6
45 10
b 5
15 25
rows( a) 3
cols( a) 3
length ( c)
d submatrix( c 1 2 1 2 )
h augment( b d )
h
0T
2T
o stack c
h c
3
length c
4
75 28
b
42 19
14 3
b5
8 10
9 2 3 4
3 5 3 1
0
9
o
3
1
5
stack( 5 0 9 ) 0
9
augment( 9 2 3 4 ) ( 9 2 3 4 )
3 4
3 1
2 0
2 3 4
5 3 1
4 1 8
2
SOLUCIN DE ECUACIONES
FUNCIN root()
e
e
t
t
t=3
t3=0
f ( x ) e
t0 1
Ecuacin a resolver
t root e
t0
t0 3 t0
t2 root f t0 3 t0
t2 2.948
FUNCIN polyroots()
5
f ( x ) 2x 4 x 2x 7x 3
pr polyroots( c)
2 0
f pr
1.295 0.583i
1.295 0.583i
pr
0.417
1.087 0.777i
1.087 0.777i
p ( x ) x 10x 2
r polyroots( c)
2
3.258
10
polyroots
0.201
0
1 3.057
3.258
r 0.201
3.057
x 4 3.99 4
f t2 3
f ( t) 3
3
7
2
c f ( x ) coeffs c
4
0
2
2
10
c p ( x ) coeffs
c
0
1
0.0000000005
p ( r) 0.0000000005
0.0000000005
3
7
2
4
0
2
2
10
0
1
30
20
10
p( x)
p( r)
10
p(x)
p(r)
20
30
x r
BLOQUE DE SOLUCIN
x 1
y 1
Given
2x 5y z = 7
S Find( x y z)
z 1
x 4y 2z = 2
3x y 2z = 8
0
S 2
3
2 5 1
M 1 4 2
3 1 2
M vs = R
7
R 2
8
vs M
0
VS 2
3
VS lsolve( M R)
0
vs 2
3
MA
MAT
3 7
20 15