GRUPO: 4
ALUMNOS:
RONALD CERVANTES
MARCO MARTNEZ
DANNY SALINAS
DOCENTE:
DR. LIGDAMIS GUTIERREZ
AMBATO ECUADOR
AO 2016
CODIFICACIN
function varargout = grupo4(varargin)
% GRUPO4 M-file for grupo4.fig
%
singleton*.
%
%
%
%
local
%
function named CALLBACK in GRUPO4.M with the given input
arguments.
%
%
the
%
existing singleton*.
pairs are
%
An
%
unrecognized property name or invalid value makes property
application
%
stop.
%
%
*See GUI Options on GUIDE's Tools menu.
only one
%
%
% See also: GUIDE, GUIDATA, GUIHANDLES
gui_Singleton = 1;
gui_State = struct('gui_Name',
'gui_Singleton',
mfilename, ...
gui_Singleton, ...
@grupo4_OutputFcn, ...
'gui_LayoutFcn',
[] , ...
'gui_Callback',
[]);
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
handle to figure
% eventdata
% handles
% varargin
if strcmp(get(hObject,'Visible'),'off')
logo='sello';
axes(handles.axes1);
handles.imagen=imread('sello','bmp');
imagesc(handles.imagen);
axis off;
end
% --- Outputs from this function are returned to the command line.
function varargout = grupo4_OutputFcn(hObject, eventdata, handles)
% varargout
% hObject
handle to figure
% eventdata
% handles
set(handles.text21,'Visible','off')
set(handles.text22,'Visible','off')
set(handles.text23,'Visible','off')
set(handles.tet26,'Visible','off')
% hObject
% eventdata
% handles
set(handles.text21,'Visible','off')
set(handles.text22,'Visible','off')
set(handles.text34, 'string', ' ');
% hObject
% eventdata
% handles
% eventdata
% handles
% eventdata
% handles
called
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')
);
end
% eventdata
% handles
% eventdata
% handles
called
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')
);
end
% eventdata
% handles
% hObject
% eventdata
% handles
called
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')
);
end
n1=diff(n,x);
if m1 == n1
set(handles.text22,'Visible','off');
set(handles.text21,'Visible','on');
set(handles.uipanel6,'Visible','on');
set(handles.text23,'Visible','on');
set(handles.text26,'Visible','on');
set(handles.text21,'string','Si es exacta');
h=int(m,x);
o=char(h);
set(handles.text7,'string',o);
t=diff(o,y);
l=char(t);
set(handles.text17,'string',l);
w=(n-t);
r=int(w,y);
p=char(r);
set(handles.text19,'string',p);
j=(h+r);
u=char(j);
set(handles.text23,'string',u);
elseif n1 == m1
set(handles.text21,'string','Si es exacta');
else
set(handles.uipanel6,'Visible','off')
set(handles.text21,'Visible','off');
set(handles.text22,'Visible','on');
set(handles.text23,'Visible','off');
set(handles.text26,'Visible','off');
set(handles.text22,'string','Inexacta');
end
% hObject
% eventdata
% handles
set(handles.uipanel8,'Visible','on');
set(handles.text34,'Visible','on');
set(handles.text35,'Visible','on');
set(handles.text21,'Visible','on');
set(handles.text21,'string','Si es separable');
A=int(m,x);
B=int(n,y);
E=char(A);
D=char(B);
P=char(A+B);
set(handles.text28,'string',E);
set(handles.text30,'string',D);
set(handles.text32,'string',P);
syms x y C;
S=solve((A+B-C),y);
M=char(S);
set(handles.text34,'string',M);
set(handles.uipanel8,'Visible','off');
set(handles.text34,'Visible','off');
set(handles.text35,'Visible','off');
set(handles.text21,'Visible','off');
set(handles.text22,'Visible','on');
set(handles.text22,'string','NO es separable');
end
% hObject
% eventdata
% handles
% hObject
% eventdata
% handles