How to plot an inversely proportional graph ?

10 次查看(过去 30 天)
So I have an assignment:
Chemical reaction rates are proportional to a rate constant, k that changes with temperature, T according to Arrhenius equation
?=??−???
For a certain reaction, Q=8000 cal/mol, R=1.987 cal/(mol.K) and A=1200 min-1 were recorded.
a. Determine the value of k for temperature from 100 K to 500 K in 50°increments.
b. Plot the graph of k vs 1/T. Label the graph appropriately.
My solution:
clear
clc
Q = 8000
R = 1.987
A = 1200
T = [100:50:500]
k = A.*exp(-Q./(R.*T))
plot(T, k, '--or')
title('Graph of k vs 1/T')
ylabel('k')
xlabel('1/T')
But the question asked for k vs 1/T . So how do I do this ?

采纳的回答

KSSV
KSSV 2020-4-3
编辑:KSSV 2020-4-3
plot(k,1./T) ;
You can find the inverse/ reciprocal using 1./T.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graph and Network Algorithms 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by