Está en la página 1de 5

UNIVERSIDAD AUTÓNOMA

CHAPINGO

DEPARTAMENTO DE
INGENIERÍA MECÁNICA AGRÍCOLA

ANÁLISIS MATEMÁTICO
PRÁCTICA III

Grupo:
4°3

Profesor:
MARCO ANTONIO ROJAS MARTÍNEZ

Presenta:
GAONA VENCES AMMISADDAI

FECHA DE ENTREGA:
Chapingo, Estado de México; viernes 31 de agosto de 2018.
>> x=sym('x')

x=

>> S1=x^2*(x-6)+4*(3*x-2)

S1 =

12*x + x^2*(x - 6) - 8

>> pretty(S1)
2
12 x + x (x - 6) – 8
>> S2 = (x + 2)^2 - 8*x

S2 =

(x + 2)^2 - 8*x

>> pretty(S2)

2
(x + 2) - 8 x

>> (S1)*(S2)

ans =

-(8*x - (x + 2)^2)*(12*x + x^2*(x - 6) - 8)

>> pretty((S1)*(S2))
2 2
-(8 x - (x + 2) ) (12 x + x (x - 6) - 8)

>> (S1)/(S2)

ans =

-(12*x + x^2*(x - 6) - 8)/(8*x - (x + 2)^2)

>> pretty((S1)/(S2))
2
12 x + x (x - 6) - 8
- ---------------------
2
8 x - (x + 2)
>> (S1)+(S2)

ans =

4*x + x^2*(x - 6) + (x + 2)^2 - 8


>> pretty((S1)+(S2))
2 2
4 x + x (x - 6) + (x + 2) - 8

>> subs((S1)+(S2),x,5)

ans =

36
>> x=sym('x')

x=

>> S1=x*(x^2+6*x+12)+8

S1 =

x*(x^2 + 6*x + 12) + 8

>> pretty(S1)
2
x (x + 6 x + 12) + 8

>> S2=(x-3)^2+10*x-5

S2 =

10*x + (x - 3)^2 - 5

>> pretty(S2)
2
10 x + (x - 3) - 5

>> (S1)*(S2)

ans =

(x*(x^2 + 6*x + 12) + 8)*(10*x + (x - 3)^2 - 5)

>> pretty((S1)*(S2))
2 2
(x (x + 6 x + 12) + 8) (10 x + (x - 3) - 5)

>> (S1)/(S2)

ans =

(x*(x^2 + 6*x + 12) + 8)/(10*x + (x - 3)^2 - 5)


>> pretty((S1)/(S2))
2
x (x + 6 x + 12) + 8
---------------------
2
10 x + (x - 3) - 5

>> (S1)+(S2)

ans =

10*x + (x - 3)^2 + x*(x^2 + 6*x + 12) + 3

>> pretty((S1)+(S2))
2 2
10 x + (x - 3) + x (x + 6 x + 12) + 3

>> subs((S1)+(S2),x,3)

ans =

150
>> x=sym('x')

x=

>> y=sym('y')

y=

>> S=x+sqrt(x)*y^2+y^4

S=

x + x^(1/2)*y^2 + y^4

>> pretty(S)
2 4
x + sqrt(x) y + y

>> T=sqrt(x)-y^2

T=

x^(1/2) - y^2

>> pretty(T)
2
sqrt(x) – y
>> S*T

ans =

(x^(1/2) - y^2)*(x + x^(1/2)*y^2 + y^4)

>> pretty(S*T)
2 2 4
(sqrt(x) - y ) (x + sqrt(x) y + y )

>> A=subs(S*T,x,9)

A=

-(y^2 - 3)*(y^4 + 3*y^2 + 9)


>> B=subs(A,y,2)

B=

-37

También podría gustarte