Professional Documents
Culture Documents
Sea el
20 de noviembre de 2014
Sea el
Sea el
En caso de distancia:
Consideramos conocer:
A=60m
B=50m
C=40m
D= ¿?
.n=4
Suma < i =
20 de noviembre de 2014
Suma < I = 360 = 71+90+75 +
A = ((c-a)2+ (d+b)2)1/2
B = ((e-c)2+ (f+d)2)1/2
C = ((g-e)2+ (h+f)2)1/2
VELAZQUE VELAZQUE, YIMI 2014
D =((a-g)2+ (b+h)2)1/2
D2=a2+g2+b2+h2 - 2(ag+bh)
Dónde: sumamos
7700+D2 = 2( c2+a2+d2+b2+e2+f2+h2)-2((ca+bd)+(ec-fd)+(ge+hf)+(ag+bh))
a (c a , d b )
b ( g a , h b)
c (a c , b d )
d (e c , f d )
e (c e , d f )
f (g e , h f )
20 de noviembre de 2014
Para ángulos
a.b ab cos
a.b 0
c .d cd cos
e. f ef cos
g.h gh cos
20 de noviembre de 2014
1.- (CODIGO DE CALCULAR)
a=get(handles.edit1,'string');
b=get(handles.edit2,'string');
c=get(handles.edit3,'string');
A=str2double(a);
B=str2double(b);
C=str2double(c);
%%%%%%%%%%%%%%%%%%
d=get(handles.edit4,'string');
e=get(handles.edit5,'string');
f=get(handles.edit6,'string');
VELAZQUE VELAZQUE, YIMI 2014
D=str2double(d);
E=str2double(e);
F=str2double(f);
x=sqrt(D^2+Y^2-2*D*Y*cos(s*pi/180))
set(handles.edit8,'string',x)
2.-
3.-
20 de noviembre de 2014
function pushbutton4_Callback(hObject, eventdata, handles)
delete(handles.figure1)
VELAZQUE VELAZQUE, YIMI 2014
Es para determinar la cota de uno o más puntos con una sola estación
Este método se utiliza cuando se desea comprobar si el eje óptico del anteojo del
nivel o paralelo a la bisectriz del nivel tubular, no es posible colocar el
instrumento en un lugar intermedio entre dos puntos de mira ya se a por que se
interponga un rió, pantano o cualquier otro obstáculo.
20 de noviembre de 2014
Es cuando solo es desnivel entre los puntos de la zona de trabajo, para ello se
asume una cota arbitraria a uno de los puntos, lo suficientemente grade para no
tener en el itineraria nivelación con cotas negativas o bien al punto más bajo se
le da cota cero.
VELAZQUE VELAZQUE, YIMI 2014
Cuando sea preciso trabajar con cotas precisas se ubica el B.M de un punto
cercano a la zona de trabajo y luego se realiza la nivelación de la misma zona de
trabajo.
20 de noviembre de 2014
VELAZQUE VELAZQUE, YIMI 2014
Si se lee sobre una pared, no fijarse si la cinta o el metro está hacia arriba
o hacia abajo.
Se hizo una nivelación compuesta partiendo del punto A de zA=53.191msnm ¿hallar la cota
de B ?
Solución:
Como la ZA=53.191
20 de noviembre de 2014
La cota de ZB=53.191+1.655-0.735
ZB=54.111
La cota de C
La cota de Zc=54.111+1.795-1.520
VELAZQUE VELAZQUE, YIMI 2014
Pseudocódigo
Inicio
N=str2double(get(handles.puntos,'string'));
function puntos_Callback(hObject, eventdata, handles)
N=str2double(get(handles.puntos,'string'));
celda=cell(N,2);
celda(:,:)={''};
set(handles.tabla2,'Data',celda);
set(handles.tabla2,'ColumnEditable',true(1,2));
% N=str2double(get(handles.puntos,'string'));
20 de noviembre de 2014
% celda1=cell(N,2);
% celda1(:,2)=('');
% set(handles.tabla2,'Data',celda1);
20 de noviembre de 2014
% --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns
called
N=str2double(get(handles.puntos,'string'));
ci=str2double(get(handles.edit2,'string'));
%cf=str2double(get(handles.edit3,'string'));
c=str2double(get(handles.tabla2,'data'));
for I=1:N
va=c(I,1)
vb=c(I,2)
vat=0;
vat=vat+va-vb
end
vat
vd=vat+ci
set(handles.edit3,'string',vd);
20 de noviembre de 2014
VELAZQUE VELAZQUE, YIMI 2014
N, ci, c
KKKKK
I=1:N va=c(I,1)
vb=c(I,2)
20 de noviembre de 2014
vd
VELAZQUE VELAZQUE, YIMI 2014
2.-calcular las coordenadas de 4 puntos tomados desde una estación por método de radiación
Calculando analíticamente:
Si ( )
Si ( )
Si ( )
20 de noviembre de 2014
Si ( )
2.-hallamos el ángulo α
si α
α
α
VELAZQUE VELAZQUE, YIMI 2014
α
2
3.-Hallamos el DH=d COS α
2
DH1 = d1 COS α1
2
DH1 = 33.80 cos ( )
DH1 = 33.769
2
DH2 = 25.20 cos ( )
DH2 =25.176
2
DH3 = 44.70cos ( )
DH3 =44.659
2
DH4 = 52.00cos ( )
DH4 = 51.949
( )
4.- hallamos su
( ( ))
( ( ))
20 de noviembre de 2014
( ( ))
( ( ))
VELAZQUE VELAZQUE, YIMI 2014
Diagrama de flujo
sdf
20 de noviembre de 2014
VELAZQUE VELAZQUE, YIMI 2014
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
set(handles.text2,'visible','on');
set(handles.text3,'visible','on');
set(handles.text4,'visible','on');
set(handles.text5,'visible','on');
set(handles.text6,'visible','on');
20 de noviembre de 2014
set(handles.ins,'visible','on');
set(handles.cot,'visible','on');
set(handles.nor,'visible','on');
set(handles.est,'visible','on');
% --- Outputs from this function are returned to the command line.
function varargout = coodenadas_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
20 de noviembre de 2014
get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
20 de noviembre de 2014
function nor_Callback(hObject, eventdata, handles)
% hObject handle to nor (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
20 de noviembre de 2014
% --- Executes on button press in calcular.
function calcular_Callback(hObject, eventdata, handles)
co=str2double(get(handles.num,'string'));
no=str2double(get(handles.nor,'string'));
es=str2double(get(handles.est,'string'));
in=str2double(get(handles.ins,'string'));
ct=str2double(get(handles.cot,'string'));
c=str2double(get(handles.tabla1,'data')); %datos de coordenadas
az=c(:,1)'; % azimut
av=c(:,2)'; % angulo vertical
m1=c(:,3)'; % hilo inferior
m=c(:,4)'; % hilo medio
m2=c(:,5)'; %hilo superior
for I=1:co
VELAZQUE VELAZQUE, YIMI 2014
di(I)=(m2(I)-m1(I))*100
dh(I)=(di(I))*((cosd((av(I))*(pi/180)))^2)
dv(I)=((di(I))/2)*(sin(2*(av(I))*(pi/180)))
norte(I)=no+dh(I)*(cos((az(I))*(pi/180)))
este(I)=es+dh(I)*(sin((az(I))*(pi/180)))
cota(I)=in+ct-m(I)+dh(I)
end
sdf=[dh;dv;di;norte;este;cota]
set(handles.tabla2,'data',sdf')
set(handles.tabla1,'visible','off');
set(handles.tabla2,'visible','on');
set(handles.atras1,'visible','on');
set(handles.calcular,'visible','off');
set(handles.text1,'visible','on');
set(handles.num,'visible','on');
set(handles.siguiente,'visible','off');
set(handles.siguiente,'visible','off');
set(handles.atras1,'visible','off');
20 de noviembre de 2014
set(handles.calcular,'visible','on');
set(handles.tabla1,'visible','on');
set(handles.tabla2,'visible','off');
Cota=800
20 de noviembre de 2014
VELAZQUE VELAZQUE, YIMI 2014
20 de noviembre de 2014
ALUMNO: VELAZQUE VELAZQUE, YIMI
ESCUELA: INGENIERIA CIVIL
CURSO: PROGRAMACIÓN-(IC-246)
CODIGO: 16120643