Kinetic equation, R=R∞{1-exp(-Kt)}

13 views (last 30 days)
Bharath KL
Bharath KL on 17 Feb 2020
Commented: Bharath KL on 5 Aug 2020
  2 Comments
Subhamoy Saha
Subhamoy Saha on 17 Feb 2020
What is your question?
Bharath KL
Bharath KL on 17 Feb 2020
I have a diffrent kinetics equctions, I know the values of the R, R∞, and t
how to put the values in matlab with code and how to plot the graph
Please help

Sign in to comment.

Answers (1)

Jon
Jon on 17 Feb 2020
Edited: Jon on 17 Feb 2020
It sounds like you may not be too familiar with using MATLAB at all.
If you need to get going quickly at using MATLAB I would highly recommend taking the time to complete the MATLAB On Ramp training
Here's a general pattern that you could follow and modify.
Basically you need an expression to evaluate your rate, then you need to evaluate this expression for each point in time that is of interest, finally plot the results.
Just to give you a place to get started you could do something like this.
Rinf = 100; % put what it is in your situation
k = 10; % put what it is in your situation
tFinal = 5; % here final time is 1000 s, you could change according to your needs
% define a vector of time values where you want the rate evaluated
t = linspace(0,tFinal,100)
% evaluate the rate equation for each time
R = Rinf*(1-exp(-k*t));
% plot the results
plot(t,R)
xlabel('time [s]')
ylabel('Rate')
  6 Comments
Bharath KL
Bharath KL on 5 Aug 2020
because I don't know the value of k, My quection is find the k value in this equaction

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!