Documente Academic
Documente Profesional
Documente Cultură
% EJERCICIO 7.7
P=linspace(-2,3,9)
Q=[-2:3/5:3]
L=length(Q)
% EJERCICIO 7.9
x=[0 1/2 3/2 1]
c=x./(x.^2-1)
% EJERCICIO 8.1
syms x
solve(x^3+3*x^2-4)
% EJERCICIO 8.2
syms t r
r=solve(exp(r*10)-6)
double(r)
t=double(solve(exp(r*t)-2))
OBJETIVOS
% EJERCICIO 8.3
syms r t N
NO=100
K=10e+5
r=double(solve(120*(NO+(K-NO)*exp(-r*1))-(NO*K)))
N4=double(solve(N*(NO+(K-NO)*exp(-r*4))-(NO*K)))
t=double(solve(K/2*(NO+(K-NO)*exp(-r*t))-(NO*K)))
EJERCICIOS PROPUESTOS
A continuacin veremos la solucin a cada uno de
los ejercicios propuestos en la gua de laboratorio.
% EJERCICIO 8.4
syms N
NO=3.9
K=197.3
R=0.03135
T=1790:10:1930
N=(NO*K)./(NO+(K-NO)*exp(-R*(T-1790)))
NR=[3.9 5.3 7.2 9.6 12.9 17.1 23.2 31.4 38.6 50.2 62.9
76.0 92.0 106.5 123.2]
EA=abs(N-NR)
ER=(abs(N-NR)./NR)*100
plot(T,U)
title('U Vs. T')
xlabel('T')
ylabel('U')
grid on
% EJERCICIO 10.6
U=(5)./(1+5*exp(-0.6*T))
T=[0:0.01:10]
figure(2)
plot(T,U)
title('U Vs. T')
xlabel('T')
ylabel('U')
grid on
CONCLUSIONES
% EJERCICIO 10.7
T=[0:0.01:5]
U=(5)./(1+5*exp(-0.6*T))
figure(3)
plot(T,U)
title('U Vs. T')
xlabel('T')
ylabel('U')
grid on
hold on
T=[5:0.01:10]
U=(5)./(1+5*exp(-0.6*T))
plot(T,U)
RECOMENDACIONES
En el enunciado del Ejercicio 8.3 corregir el valor de
K=105 por K=105 pues esto causo confusin porque el
valor de r era un numero imaginario y adems se supona
que K era el lmite superior. Cuando se corrigi las
soluciones eran coherentes.
% EJERCICIO 10.8
T=[0:0.01:5];
U=(5)./(1+5*exp(-0.6*T))
figure(4)
subplot(2,1,1)
plot(T,U)
title('U Vs. T')
xlabel('T')
ylabel('U')
grid on
T=5:0.01:10
U=(5)./(1+5*exp(-0.6*T))
subplot(2,1,2)
BIBLIOGRAFA
ACOSTA Jos, LPEZ Manuel. Manual de introduccin
a MATLAB. Universidad de Sevilla. 2004.
PREZ Pablo, Modelado matemtico de los sistemas
ecolgicos. Universidad de Oviedo. 2007.