Sunteți pe pagina 1din 6

SEP SNEST DGEST

INSTITUTO TECNOLGICO DE TOLUCA

CALCULO VECTORIAL

EQUIPO 6: Figura-Rata

INTEGRANTES:
Eduardo Ramrez Gutirrez
Richard Mohel Prez Quijano
Aldo Daniel Reyes Gallegos
Ricardo Pozas Lechuga
Fredy Reyes Snchez

CODIGO.
clc; clear;
[x,y,z, ] = sphere;
r = 10;
surf(x*r,y*r,z*r ) % CABEZA
grid on
hold on
[x,y,z] = sphere;
d = 3;
surf(x*d-6,y*d-4,z*d+4) % ojo der
hold on
surf(x*2-7.5,y*2-4.3,z*2+4.5) % pupila der
hold on
surf(x*d-6,y*d+4,z*d+4) % ojo izq
hold on
surf(x*2-7.5,y*2+4.3,z*2+4.5) % pupila izq
hold on
[x,y,z] = ellipsoid(-10,0,-2,1,7,4.5,30 );
surf(x,y,z ) % nariz
hold on
[x,y,z] = ellipsoid(-10,0,1,2,4,2,30 );
surf(x,y,z ) % nariz negra
hold on
[x,y,z] = ellipsoid(0,10,7,.5,7,5,20 );
surf(x,y,z ) % oreja iq
hold on
[x,y,z] = ellipsoid(0,-10,7,.5,7,5,20 );
surf(x,y,z ) % oreja der
hold on
[x,y,z] = ellipsoid(-.5,10,7,.2,6,4.5,20 );
surf(x,y,z ) % sphere centered at (3,-2,0)
hold on
[x,y,z] = ellipsoid(-.5,-10,7,.2,6,4.5,20 );
surf(x,y,z ) % sphere centered at (3,-2,0)
hold on
[x,y,z] = ellipsoid(-4,-4,5,.5,5,3.5,20 );
surf(x,y,z ) %cejader
hold on
[x,y,z] = ellipsoid(-4,4,5,.5,5,3.5,20 );
surf(x,y,z ) %ceja izq
hold on
[x,y,z] = ellipsoid(-2.5,0,6.5,.2,9,3.9,20 );
surf(x,y,z ) % uniceja
hold on
figure (4)
y1=-10:.2:10; %bigote 1
x1=y1*0-11;
z1=y1*0+1.5;
plot3 (x1,y1,z1);
hold on

y1=-10:.2:10; %bigote 1
x1=y1*0-11;
z1=y1*-.3+1.5;
plot3 (x1,y1,z1);
hold on
y1=-10:.2:10; %bigote 3
x1=y1*0-11;
z1=y1*.3+1.5;
plot3 (x1,y1,z1);
hold on
[x,y,z] = ellipsoid(-7,0,-6,.2,6.5,1.5,20 );
surf(x,y,z ) % boca
hold on
[x,y,z] = ellipsoid(-8,0,-6.2,.3,4,1.3,20 );
surf(x,y,z ) % dientes
hold on
y2=0:.2:.5; %cabello
x2=y2*0;
z2=-y2.^2*30+y2*30+7;
plot3 (x2,y2,z2);
hold on
z2=5:.2:12; %cabello2
x2=z2*0;
y2=z2-10;
plot3 (x2,y2,z2);
hold on
z2=5:.2:12; %cabello3
x2=z2*0;
y2=-z2+10;
plot3 (x2,y2,z2);
hold on

Ecuaciones
(x)^2+(y)^2+(z)^2=100 //Cabeza//
(x+6)^2+(y+4)^2+(z-4)^2=9 //Ojo derecho//
(x+(75/10))^2+(y+(43/10))^2+(z-(45/10))^2=4//Pupila derecha//
(x+6)^2+(y-4)^2+(z-4)^2= 9 //Ojo izquierdo//
(x+(75/10))^2+ (y-(43/10))^2 +(z-(45/10))^2=4//Pupila izquierda//
(x+10)^2/2 + (y)^2/7 +((z+2)^2)/(45/10)=1 // Naiz//
(x+10) ^2/(2)+ (y)^2/(4)+ (z-1)^2/(2)=1 // nariz negra//
(x)^2/(1/5)+(y-10)^2/(7)+z^2/(5)=1 //oreja izq//
(x)^2/(1/5)+(y+10)^2/(7)+z^2/(5)=1 //oreja der//
(x+(5/10))^2/(2/10)+ (y-10)^2/(6)+ (z-7)^2/(45/10)=1 //sombra derecha//
(x+(5/10))^2/(2/10)+ (y+10)^2/(6)+ (z-7)^2/(45/10)=1 //sombra izq//
(x+4)^2/(1/2)+(y+4)^2/(5)+(z-5)^2/(35/10)=1 //ceja der//
(x+4)^2/(1/2)+(y-4)^2/(5)+(z-5)^2/(35/10)=1 //ceja izq//
(x+(25-10))^2/(1/5)+(y)^2/(9)+(z-(65/10)^2/(39/10)=1 //gorra//
Z=(15/10); y=-11; y [-10,10 ]

//bigote 1//

X=-11; z=-(3/10)y+(15/10) Y [-10,10] //Bigote 2//


X=-11; z=(3/10)y+(15/10) Y [-10,10] //bigote 3//
(x+7)^2/(1/5)+ y^2/(65/10)+(z+6)^2/(15/10)=1
(x+8)^2/(3/10)+(y)^2/(4)+(z+(31/5))^2/(13/10)=1
Z=30y^2+30y+7; x=0; y[0,(1/2)]
X=0; y=z-10; z[5,12] //cabello 2//
X=0; y=-z+10; z[5,12] //cabello 3//

//cabello//

//boca//
//dientes//

ECUACIONES PARAMETRICAS DEL BIGOTE 1:

S-ar putea să vă placă și