function f=f(t,y)

R=20000;					%Resistance
C=.00001;					%Capacitance
E0=117;						%Constant Voltage
f=-y/(R*C)+E0/R;				%Defines the function f
					
						
