Professional Documents
Culture Documents
>> %FIGURA 1
>> %figura 1
>> t=0:0.01:2*pi;
>> x=2*cos(t);
>> y=2*sin(t);
>> plot(x,y,'r')
>> grid
>> axis([-6,6,-6,6])
>> hold on
>> t=-3:0.01:8;
>> y=sqrt(15)*(8-t)/15;
>> plot(t,y);
>> hold on
>> t=-3:0.01:8;
>> y=sqrt(15)*(t-8)/15;
>> plot(t,y)
circunferencia y sus tangentes
0
eje "y"
-2
-4
-6
-2 0 2 4 6 8
eje "x"
>> %FIGURE 2
>> t=0:0.01:(4*pi)/6;
>> x=1+2*cos(t);
>> y=2*sin(t);
>> plot(x,y)
>> grid
>> axis([-5,5,-5,5])
>> hold on
>> x=-1-2*cos(-t);
>> y=2*sin(t);
>> plot(x,y,x,y)
>> hold on
>> x=-3:0.01:0;
>> y=-2*x-6;
>> plot(x,y)
>> hold on
>> x=0:0.01:3;
>> y=2*x-6;
>> plot(x,y,'r')
"Figura Compuesta"
3
-1
EJE Y
-2
-3
-4
-5
-6
-4 -3 -2 -1 0 1 2 3 4 5
EJE X
>> %figura 3
>> t=0:0.01:2*pi;
>> x=cos(t);
>> y=sin(t);
>> plot(x,y)
>> grid
>> axis([-5,5,-5,5])
>> hold on
>> t=0:0.01:pi;
>> x=2*cos(t);
>> y=3+2*sin(-t);
>> plot(x,y,'r')
>> hold on
>> t=0:0.01:pi;
>> x=-2*cos(-t);
>> y=-3+2*sin(t);
>> plot(x,y,'c')
FIGURA COMPUESTA
5
1
EJE Y
-1
-2
-3
-4
-5
-5 -4 -3 -2 -1 0 1 2 3 4 5
EJE X
>> %FIGURA 4
>> ezplot('576*x^2+336*x*y+49*y^2-2801*x-1468*y+4694', [0,9])
>> grid
>> axis([-6,6,-10,10])
2
EJE Y
-2
-4
-6
-8
-10
-6 -4 -2 0 2 4 6
EJE X
>> %FIGURA 5
>> ezplot('x-4+y')
>> grid
>> axis([-8,8,-8,8])
>> hold on
>> ezplot('2*x-2-y')
2 x-2-y = 0
8
2
eje Y
-2
-4
-6
-8
-8 -6 -4 -2 0 2 4 6 8
eje X
>> %FIGURA 6
>> t=0:0.01:5.77; g=9.8;
>> x=40*cos(pi/4)*t;
>> y=40*sin(pi/4)*t-((1/2)*g*t.^2);
>> plot(x,y,'b')
>> hold on
>> t=0:0.01:7.60;
>> x=42.98*cos(pi/3)*t;
>> y=42.98*sin(pi/3)*t-((1/2)*g*t.^2);
>> plot(x,y,'r')
>> grid
>> axis([0,180,0,80])
70
60
ALTURA MAXIMA
50
40
30
20
10
0
0 20 40 60 80 100 120 140 160 180
ALCANCE HORIZONTAL