You are on page 1of 2

ECUACIONES LINAELES: FORMA Ax=b

-->A=[1,-1,2;1,0,1;2,-3,5;3,2,-2]
A =
1.
1.
2.
3.

- 1.
0.
- 3.
2.

2.
1.
5.
- 2.

-->C=[4;6;4;1]
C =
4.
6.
4.
1.
-->R=A\C
R =
- 1.4848485
10.393939
7.6666667

ECUACIONES LINEALES: FORMA


LINSOLVE
-->B=[3,2,-4;4,3,-7;-1,6,5]
B =
3. 2. - 4.
4. 3. - 7.
- 1. 6. 5.
-->C=[2;-1;4]
C =
2.
- 1.
4.
-->[M,P]=linsolve(B,C)
P =
[]
M =

- 3.7837838
0.4594595
- 2.1081081
-->com=B*[M,P]
com =
- 2.
1.
- 4.

DERIVADAS

1.
-->a=poly([2,-5-2,3,1],"x","c")
a =
2 3
2 - 7x + 3x + x
-->a=poly([2,-5,-2,3,1,],"x","c")
a =
2 3 4
2 - 5x - 2x + 3x + x
-->Da=derivat(a)
Da =
2 3
- 5 - 4x + 9x + 4x

2.
-->x=poly(0,"x")
x =
x
-->num=3*x**3+x+2
num =
3
2 + x + 3x
-->den=5*x**2+1
den =

2
1 + 5x
-->p=num/den
p =
3
2 + x + 3x
---------2
1 + 5x
-->Dx=derivat(p)
Dx =
2 4
1 - 20x + 4x + 15x
-----------------2 4
1 + 10x + 25x

GRAFICA
//varias graficas
x=0:0.05:3*%pi;
y=3+sin(x);
w=2+cos(x);
plot([w,y])
xlabel('ejes adcisas')
ylabel('ejes ordenadas')
xtitle('grafico')

You might also like