How to plot an inversely proportional graph ?

6 views (last 30 days)
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 ?

Accepted Answer

KSSV
KSSV on 3 Apr 2020
Edited: KSSV on 3 Apr 2020
plot(k,1./T) ;
You can find the inverse/ reciprocal using 1./T.

More Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!