Está en la página 1de 5

1) Utilizar el MatLab para graficar las siguientes funciones

a.

f ( x )=2 x 35 x 44 x+ 8

clc
clear
X=-10:0.01:10;
Y=2*X.^3-5*X.^4-4*X+8;
plot(X,Y)
grid on

x 10

0
-1
-2
-3
-4
-5
-6
-10

b.

-8

-6

-4

-2

f ( x )=sen ( 2 x )4 xcos (x)

10

clc
clear
X=-10:0.01:10;
Y=sin(2*X)-4*X.*cos(X)
plot(X,Y)
grid on

40
30
20
10
0
-10
-20
-30
-40
-10

-8

c.

-6

-4

f ( x )=e x +3 x 2
clc
clear

-2

10

X=-10:0.01:10;
Y=exp(-X)+3*X.^2;
plot(X,Y,'r','linewidt',2)
grid on
4

2.5

x 10

1.5

0.5

0
-10

-8

d.

-6

f ( x )=xln
clc
clear

-4

( 2x )tg ( x)

-2

10

X=-10:0.01:10;
Y=X.*log(X/2)-tan(X);
plot(X,Y,'b','linewidt',2)
grid on

1500

1000

500

-500

-1000

-1500
-10

-8

e.

-6

f ( x )=sec

-4

-2

( 3x )sen ( x )1
2

clc
clear
X=-10:0.01:10;
Y=sec(X/3)-sin(X.^2)-1;
plot(X,Y,'m','linewidt',2)

10

grid on

1400
1200
1000
800
600
400
200
0
-200
-400
-10

-8

-6

-4

-2

10

También podría gustarte