Advertisement
aalhendi

IC5_1

Jan 23rd, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.31 KB | None | 0 0
  1. function IC5_1
  2. %Coded By Abdulrazzaq Alhendi on 01.23.18
  3.  
  4. %Initialization
  5. S0 = 8; %mol/L
  6. vm = 0.7; %mol/L-Day
  7. ks  = 2.5; %mol/L
  8. t = 1; %day
  9. S = S0;
  10.  
  11. %Functions
  12. L = @(S) S; %Left Side of Eqn
  13. R = @(S) S0 - vm.*t + ks.*log(S0./S); %Right Side of function
  14.  
  15. %Plotting
  16. fplot(L);
  17. xlim([0 S0])
  18. hold on
  19. fplot(R);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement