Naomi vila - Salom Oate
Clculo Vectorial, Grupo A2
1.
Para :
Para :
Para :
GRAFICA 1.
clc
close all
clear all
axis([-1 4 -1 4 -1 4])
line([-1 4],[0 0],[0 0],'color','k')
line([0 0],[-1 4],[0 0],'color','k')
line([0 0],[0 0],[-1 4],'color','k')
grid on
hold on
%curva C1
t=0:0.01:1/2*pi;
x=2*cos(t);
y=0*t;
z=2*sin(t);
plot3(x,y,z,'b')
%curva C2
t=0:0.1:1;
x=0*t;
y=t;
z=2-2*t;
plot3(x,y,z,'g')
%curva C3
t=0:0.1:1;
x=t;
y=1-t;
z=0*t;
plot3(x,y,z,'r')
2. ; ;
GRAFICA 2.
clc
close all
clear all
axis([-1 4 -1 4 -1 4])
line([-1 4],[0 0],[0 0],'color','k')
line([0 0],[-1 4],[0 0],'color','k')
line([0 0],[0 0],[-1 4],'color','k')
grid on
hold on
t=0:0.01:2*pi;
x=t.*cos(t);
y=t.*sin(t);
z=t;
plot3(x,y,z,'g')
3. ;
; ;
Para :
;
Para :
;
Para :
;
GRAFICA 3.
clc
close all
clear all
axis([-1 2 -1 2 ])
line([-1 2],[0 0],'color','k')
line([0 0],[-1 2],'color','k')
grid on
hold on
% LADO 1
t=0:0.01:1;
x=t;
y=0*t;
plot(x,y,'y')
% LADO 2
t=0:0.01:1;
x=1-t;
y=t;
plot(x,y,'r')
% LADO 3
t=0:0.01:1;
x=0*t;
y=1-t;
plot(x,y,'g')
4. ; ;
;
=
GRAFICA 4.
clc
close all
clear all
axis([-1 4 -1 4 ])
line([-1 4],[0 0],'color','k')
line([0 0],[-1 4],'color','k')
grid on
t=1/4*pi:0.01:1/2*pi;
x=2*cos(t);
y=2*sin(t);
plot(x,y,'g')
-1
-0.5
0
0.5
1
1.5
2
2.5
3
3.5
4
-1
0
1
2
3
4
-1
-0.5
0
0.5
1
1.5
2
2.5
3
3.5
4
-1
0
1
2
3
4
-1
0
1
2
3
4
-1
0
1
2
3
4
-1-0.500.511.52
-1
-0.5
0
0.5
1
1.5
2
00.511.5
1.4
1.5
1.6
1.7
1.8
1.9
2