Course Solutions Uncategorized (Solved) : Made Code Matlab Physics Experiement Determine Capacitors Behave R C Circuitsanyway User E Q28381800 . . . .

(Solved) : Made Code Matlab Physics Experiement Determine Capacitors Behave R C Circuitsanyway User E Q28381800 . . . .

 

I made this code in matlab

it is for physics experiement, it is to determine how capacitorsbehave in R-C circuits..anyway

the user will enter the values of volt(v) that he got from theexperiement along 500 second, then the program will calculate v0,then will graph time vs v/v0.. i want also to specify a point ongraph .. this is the code

v0=1.5;
n=0;
v=zeros(1,100);
while n<11
V=input(‘enter the value of the volt’);
if V<0 | V>v0
disp(‘its not possible’)
disp(‘try again’)
continue
end
n=n+1;
v(n)=V;
end
v=v(1:n);
f=[1:length(v)]
for t=[0:50:500];
f=v./v0
end
f=v./v0;
t=[0:50:500];
plot(t,f)
ylabel(‘v/v0’);
xlabel(‘time’);
grid on

now, i want to mark a point on the graph

if i have

R= 100*10^3;
C=2200*10^-6;
T=R*C;

how i can find the value of y when x=T, then mark it on thegraph ( for

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post