Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

>> r = 36000;

>> c = 0.001;

>> t = 0:50:400;

>> vc = 5*(1-exp(-t/(r*c)));

>> plot(t,vc);

>>

>> r = 36000;

>> c = 0.001;

>> t =linspace(0,356);

>> vc = 5*(1-exp(-t/(r*c)));

>> figure(1);clf;

>> plot(t,vc);

>>

>> r = 2750;

>> c = 0.001;

>> t =linspace(0,31);

>> vc = 5*(1-exp(-t/(r*c)));

>> figure(2);clf;

>> plot(t,vc);

>>

>> r = 36000;

>> c = 0.001;

>> t =linspace(0,320);

>> vc = 5*(exp(-t/(r*c)));

>> figure(3);clf;
>> plot(t,vc);

>>

>> r = 2750;

>> c = 0.001;

>> t =linspace(0,27);

>> vc = 5*(exp(-t/(r*c)));

>> figure(4);clf;

>> plot(t,vc);

>>

>> r = 33000

r=

33000

>>

>> r = 33000;

>> c = 0.001;

>> t =linspace(0,205);

>> vc = 5*(1-(exp(-t/(r*c)));

vc = 5*(1-(exp(-t/(r*c)));

Error: Unbalanced or unexpected parenthesis or

bracket.
>> r = 33000;

>> c = 0.001;

>> t =linspace(0,205);

>> vc = 5(1-exp(-t/(r*c)));

vc = 5(1-exp(-t/(r*c)));

Error: Unbalanced or unexpected parenthesis or

bracket.

>> r = 33000;

>> c = 0.001;

>> t =linspace(0,205);

>> vc = 5*(1-exp(-t/(r*c)));

>> figure(5);clf;

>> plot(t,vc);

>>

>> r = 33000;

>> c = 0.001;

>> t =linspace(0,348);

>> vc = 5*(exp(-t/(r*c)));

>> figure(6);clf;

>> plot(t,vc);

>>

>> r = 2750;

>> c = 0.001;
>> t =linspace(0,85);

>> vc = 5*(1-exp(-t/(r*c)));

>> figure(7);clf;

>> plot(t,vc);

>>

>> r = 2750;

>> c = 0.001;

>> t =linspace(0,57);

>> vc = 5*(exp(-t/(r*c)));

>> figure(8);clf;

>> plot(t,vc);

>>

>> r = 3000;

>> c = 0.001;

>> t =linspace(0,85);

>> vc = 5*(1-exp(-t/(r*c)));

>> plot(t,vc);

>>

>> r = 3000;

>> c = 0.001;

>> t =linspace(0,57);

>> vc = 5*(exp(-t/(r*c)));

>> plot(t,vc);

>>

>> r = 33000;
>> c = 0.001;

>> t =linspace(0,205);

>> vc = 5*(1-exp(-t/(r*c)));

>> plot(t,vc);

>>

You might also like