How to plot an inversely proportional graph ?

6 ビュー (過去 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.
  1 件のコメント
Ziq Kimi
Ziq Kimi 2020 年 4 月 3 日
Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by