Documentos de Académico
Documentos de Profesional
Documentos de Cultura
E-mail: wmroman@espe.edu.ec
Abstract
We present the development of a program in which the Solution of a Non-homogeneous differential equation is
known, by the method of indeterminate coefficients. Through software called Matlab, which allows you to enter a
source code to solve mathematical problems of all kinds, as well as graphic functions. By using this software you
can solve the characteristic equation to obtain the values of each Edo Constant. It is concluded that said program
through the application of the two presented cases provides the result that is the sum of the particular solution plus
the general solution of the Differential Equation.
Keywords: Non-homogenous Edo, Differential equations, Real constants, Characteristic equation, Factorization,
Roots, multiplicity.
Resumen
Palabras claves: Edo No Homogénea, Ecuaciones diferenciales, Constantes Reales, Ecuación característica,
Factorización, Raíces, multiplicidad.
2
1. OBJETIVO.
1.2.2 METODO DE COEFICIENTES
1.1 OBJETIVO GENERAL: INDETERMINADOS
Para lograr una correcta realización del tema Para la solución particular existen dos casos:
propuesto se debe de conocer la teoría básica que
defina el método de coeficientes indeterminados. Caso 1
1.2 CONCEPTUALIZACION DE TERMINOS Cuando se tiene una ecuación de la forma:
FUNDAMENTAL
Una ecuación diferencial ordinaria lineal de orden n Cuando se tiene una ecuación de la forma:
en la variable dependiente “y” y en la variable
independiente x es una ecuación que puede
expresarse de la forma:
g ( x )=e ∝ x [ Pn ( x ) cos ( βx )+Qn ( x )( senβx ) ]
dn y d n−1 y dy
a0( x ) n
+ a 1 ( x ) n−1
+…+ an−1 ( x ) +a n ( x ) y=b( x)
dx dx dx Y la solución particular es:
3
%
%
yp=x s e∝ x [ P ~k ( x ) cos ( βx )+ P ~k ( x ) (senβx) ] PRINCIPAL1('CALLBACK',hObject,event
Data,handles,...) calls the local
% function named CALLBACK in
k =max { m , n } PRINCIPAL1.M with the given input
arguments.
Donde “s” es la multiplicidad de la raíz m=∝ ± β %
%
PRINCIPAL1('Property','Value',...)
creates a new PRINCIPAL1 or raises
the
% existing singleton*.
Starting from the left, property
value pairs are
% applied to the GUI before
principal1_OpeningFcn gets called.
An
% unrecognized property name
or invalid value makes property
Ilustración 2.- Soluciones particulares application
Autor: tecdigital.tec.ac.cr (2011) % stop. All inputs are passed
to principal1_OpeningFcn via
2. PROCEDIMIENTO: varargin.
%
Generación del código. % *See GUI Options on GUIDE's
Tools menu. Choose "GUI allows
La idea general para el desarrollo del código se basa only one
en encontrar la ecuación diferencial de una familia % instance to run
de curvas a partir de sus soluciones generales. El (singleton)".
método matemático que se utilizara es el, el cual es %
el determinante de la matriz que se forma a partir de % See also: GUIDE, GUIDATA,
la ecuación general y las “n-ésimas” derivadas que GUIHANDLES
se requieran.
% Edit the above text to modify the
response to help principal1
Existen líneas de código con aplicación directa para
el desarrollo de alguna matriz, como por ejemplo, % Last Modified by GUIDE v2.5 18-
magic (n), crea una matriz cuadrada n x n de enteros Oct-2018 11:13:11
que sumen lo mismo las filas y las columnas.
% Begin initialization code - DO
CODIGO FUENTE NOT EDIT
gui_Singleton = 1;
function varargout = gui_State = struct('gui_Name',
principal1(varargin) mfilename, ...
% PRINCIPAL1 MATLAB code for 'gui_Singleton',
principal1.fig gui_Singleton, ...
% PRINCIPAL1, by itself,
creates a new PRINCIPAL1 or raises 'gui_OpeningFcn',
the existing @principal1_OpeningFcn, ...
% singleton*. 'gui_OutputFcn',
% @principal1_OutputFcn, ...
% H = PRINCIPAL1 returns the 'gui_LayoutFcn',
handle to a new PRINCIPAL1 or the [] , ...
handle to 'gui_Callback',
% the existing singleton*. []);
4
end proceso;
% hObject handle to pushbutton1
(see GCBO)
% eventdata reserved - to be
defined in a future version of
function edit2_Callback(hObject,
MATLAB
eventdata, handles) % handles structure with handles
% hObject handle to edit2 (see
and user data (see GUIDATA)
GCBO)
% eventdata reserved - to be
defined in a future version of
MATLAB % --- Executes on button press in
% handles structure with handles pushbutton2.
and user data (see GUIDATA) function
pushbutton2_Callback(hObject,
% Hints: get(hObject,'String') eventdata, handles)
returns contents of edit2 as text close(principal1 )
% % hObject handle to pushbutton2
str2double(get(hObject,'String')) (see GCBO)
returns contents of edit2 as a % eventdata reserved - to be
double defined in a future version of
MATLAB
% handles structure with handles
and user data (see GUIDATA)
% --- Executes during object
creation, after setting all
properties.
function edit2_CreateFcn(hObject, % --- Executes during object
eventdata, handles) creation, after setting all
% hObject handle to edit2 (see properties.
GCBO) function axes1_CreateFcn(hObject,
% eventdata reserved - to be eventdata, handles)
defined in a future version of a=imshow('IngElectromecanica.jpg');
MATLAB image (a)
% handles empty - handles not axis of
created until after all CreateFcns % hObject handle to axes1 (see
called GCBO)
% eventdata reserved - to be
defined in a future version of
% Hint: edit controls usually have
MATLAB
a white background on Windows. % handles empty - handles not
% See ISPC and COMPUTER.
created until after all CreateFcns
if ispc && called
isequal(get(hObject,'BackgroundColo
r'),
get(0,'defaultUicontrolBackgroundCo % Hint: place code in OpeningFcn to
lor')) populate axes1
ANÁLISIS DE RESULTADOS
set(hObject,'BackgroundColor','whit
e');
end Mediante la ayuda del software y una vez
comprobado el correcto funcionamiento del código
fuente así mismo como realizadas muestras con
diferentes Soluciones Generales, se obtuvo
% --- Executes on button press in satisfactoriamente los resultados esperados, los
pushbutton1. cuales son la Ecuaciones Diferenciales.
function
pushbutton1_Callback(hObject,
eventdata, handles)
6
5. REFERENCIAS
6. AUTORES
Bryan Meza