MATLAB Answers

0

how to make a plot

Asked by hyoung chul roh on 21 Nov 2018
Latest activity Commented on by Majid Farzaneh on 22 Nov 2018
i don't know how to make a plot F vs V
i want to plotting Fa vs V , Fb vs V ,Fc vs V on one plot
some equtions is here
dFa/dV=ra
dFb/dV=-ra-kc*Ct*Fb/FT
dFc/dV=-ra
-ra=K*(Ca-Cb*Cc/Kc)
Ca=Ct*Fa/Ft
Cb=Ct*Fb/Ft
Cc=Ct*Fc/Ft
here is constant number
Ct=0.2mol/L
K=0.7/min
Kc=0.05mol/L
kc=0.2/min
Fa(0)=10mol/min
Fb(0)=0
Fc(0)=0
these three property is initial property
plses tell me how to make a plot Fa Vs V , Fb Vs V ,Fc Vs V on same plot

  2 Comments

Adam Danz
on 21 Nov 2018
What's V?
hyoung chul roh on 22 Nov 2018
V means Volume which is variable

Sign in to comment.

Tags

2 Answers

Answer by Majid Farzaneh on 21 Nov 2018
 Accepted Answer

Hi, you can use this:
figure,
plot(V,Fa,'-o')
hold on
plot(V,Fb,'-*')
plot(V,Fc,'-^')
legend('Fa','Fb','Fc')

  2 Comments

hyoung chul roh on 22 Nov 2018
thank you very much
Majid Farzaneh on 22 Nov 2018
you're welcome

Sign in to comment.


Cris LaPierre
Answer by Cris LaPierre
on 21 Nov 2018

Chapter 9 of MATLAB Onramp

  1 Comment

hyoung chul roh on 22 Nov 2018
thank you!

Sign in to comment.