How to plot an inversely proportional graph ?

조회 수: 8 (최근 30일)
Ziq Kimi
Ziq Kimi 2020년 4월 3일
댓글: Ziq Kimi 2020년 4월 3일
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