Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
problem in solving code for arrehenius equation,To and Ta are in kelvin
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
clear all;close all;clc; k=8.617385*10^(-5); T0=298; EA=0.9; Ta = -40:10:70; n=(EA/k)*((1/T0)-(1/Ta)); AF=exp(n); %n=(EA/k)*((1/T0)-(1/(298))); %T=5; % for i=1:l % n=(EA/k)*((1/T0)-(1/((i*T)+293))); % AF(i)=exp(n); % end
plot(Ta,AF,'-rs','LineWidth',2,...
'MarkerEdgeColor','k',...
'MarkerFaceColor','b',...
'MarkerSize',10)
%plot(Ta,AF1);
% axes;
grid on;
% xlim([10 100]);
% ylim([0 800]);
0 Commenti
Risposte (1)
Richard
il 1 Mag 2012
in your loop what is 'l' suppose to be? Your stating that your loop goes from 1 to 'l' but haven't specified what 'l' is.
From your loop I am guessing that the main problem is that you are not storing each iteration of i so try to replace 'n' with n(i) maybe. I can only guess at the moment as I am not sure what you are trying to do.
0 Commenti
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!