summaryrefslogtreecommitdiff
path: root/863/CH2/EX2.5/Ex2_5.txt
diff options
context:
space:
mode:
Diffstat (limited to '863/CH2/EX2.5/Ex2_5.txt')
-rw-r--r--863/CH2/EX2.5/Ex2_5.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/863/CH2/EX2.5/Ex2_5.txt b/863/CH2/EX2.5/Ex2_5.txt
new file mode 100644
index 000000000..521d918e4
--- /dev/null
+++ b/863/CH2/EX2.5/Ex2_5.txt
@@ -0,0 +1,12 @@
+//Caption:Calculate Rise time,time for capacitor to charge to required amount and time required for complete charging
+//Ex2.5
+clc;
+clear;
+close;
+V=5//Voltage source(in volts)
+r=39//Resistor(in kilo ohm)
+c=500//Capacitance of capacitor(in pf)
+tr=2.2*r*c*10^(-3)
+t=r*c*10^(-3)
+tc=5*r*c*10^(-3)
+disp(tc,t,tr,'Rise time,time for 63.2% charging and time required for complete charging(in micro sec)=') \ No newline at end of file