summaryrefslogtreecommitdiff
path: root/863/CH2/EX2.4
diff options
context:
space:
mode:
Diffstat (limited to '863/CH2/EX2.4')
-rw-r--r--863/CH2/EX2.4/Ex2_4.sce18
-rw-r--r--863/CH2/EX2.4/Ex2_4.txt18
-rw-r--r--863/CH2/EX2.4/Result2_4.txt6
3 files changed, 42 insertions, 0 deletions
diff --git a/863/CH2/EX2.4/Ex2_4.sce b/863/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..4129dae63
--- /dev/null
+++ b/863/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,18 @@
+//Caption:Determine (a)Ec at 1.5ms (b)Ec at 6ms
+//Ex2.4
+clc;
+clear;
+close;
+r1=1//Resistor(in kilo ohm)
+c1=1//Capacitance(in micro farad)
+e1=10//Voltage(in volts)
+r2=20//Resistor(in kilo ohm)
+c2=0.1//Capacitance(in micro farad)
+e2=12//Voltage(in volts)
+t1=r1*c1*0.78
+e=e1*1
+ec1=e*t1
+t2=r2*c2*0.025
+E=e2*1
+ec2=E*t2
+disp(ec2,ec1,'(a)Ec at 1.5ms(in volts) and (b)Ec at 6ms(in volts)=') \ No newline at end of file
diff --git a/863/CH2/EX2.4/Ex2_4.txt b/863/CH2/EX2.4/Ex2_4.txt
new file mode 100644
index 000000000..4129dae63
--- /dev/null
+++ b/863/CH2/EX2.4/Ex2_4.txt
@@ -0,0 +1,18 @@
+//Caption:Determine (a)Ec at 1.5ms (b)Ec at 6ms
+//Ex2.4
+clc;
+clear;
+close;
+r1=1//Resistor(in kilo ohm)
+c1=1//Capacitance(in micro farad)
+e1=10//Voltage(in volts)
+r2=20//Resistor(in kilo ohm)
+c2=0.1//Capacitance(in micro farad)
+e2=12//Voltage(in volts)
+t1=r1*c1*0.78
+e=e1*1
+ec1=e*t1
+t2=r2*c2*0.025
+E=e2*1
+ec2=E*t2
+disp(ec2,ec1,'(a)Ec at 1.5ms(in volts) and (b)Ec at 6ms(in volts)=') \ No newline at end of file
diff --git a/863/CH2/EX2.4/Result2_4.txt b/863/CH2/EX2.4/Result2_4.txt
new file mode 100644
index 000000000..94b592ee3
--- /dev/null
+++ b/863/CH2/EX2.4/Result2_4.txt
@@ -0,0 +1,6 @@
+ (a)Ec at 1.5ms(in volts) and (b)Ec at 6ms(in volts)=
+
+ 7.8
+
+ 0.6
+ \ No newline at end of file