%Lecture11a
%Plot solution for fluid system

RC=564.14;


sigma=1/RC;

Q=1;
Vo=400;

t=[0:1:5000];

V=RC*Q*ones(size(t))+(Vo-RC*Q)*exp(-sigma*t);

plot(t,V)