diff options
Diffstat (limited to '863/CH2/EX2.9')
-rw-r--r-- | 863/CH2/EX2.9/Ex2_9.sce | 12 | ||||
-rw-r--r-- | 863/CH2/EX2.9/Ex2_9.txt | 12 | ||||
-rw-r--r-- | 863/CH2/EX2.9/Result2_9.txt | 6 |
3 files changed, 30 insertions, 0 deletions
diff --git a/863/CH2/EX2.9/Ex2_9.sce b/863/CH2/EX2.9/Ex2_9.sce new file mode 100644 index 000000000..44d5c973b --- /dev/null +++ b/863/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,12 @@ +//Caption:Determine max and min voltage at which capacitor voltage will settle
+//Ex2.9
+clc;
+clear;
+close;
+E=20//Peak voltage(in volts)
+t=4//Time interval(in ms)
+r=3.3//Resistance(in kilo ohms)
+c=1//Capacitance(in micro farad)
+Emax=E/(1+(2.718^(-t/(r*c))))
+Emin=E-Emax
+disp(Emin,Emax,'Maximum and minimum voltage(in volts)=')
\ No newline at end of file diff --git a/863/CH2/EX2.9/Ex2_9.txt b/863/CH2/EX2.9/Ex2_9.txt new file mode 100644 index 000000000..44d5c973b --- /dev/null +++ b/863/CH2/EX2.9/Ex2_9.txt @@ -0,0 +1,12 @@ +//Caption:Determine max and min voltage at which capacitor voltage will settle
+//Ex2.9
+clc;
+clear;
+close;
+E=20//Peak voltage(in volts)
+t=4//Time interval(in ms)
+r=3.3//Resistance(in kilo ohms)
+c=1//Capacitance(in micro farad)
+Emax=E/(1+(2.718^(-t/(r*c))))
+Emin=E-Emax
+disp(Emin,Emax,'Maximum and minimum voltage(in volts)=')
\ No newline at end of file diff --git a/863/CH2/EX2.9/Result2_9.txt b/863/CH2/EX2.9/Result2_9.txt new file mode 100644 index 000000000..a24c66419 --- /dev/null +++ b/863/CH2/EX2.9/Result2_9.txt @@ -0,0 +1,6 @@ + Maximum and minimum voltage(in volts)=
+
+ 15.413037
+
+ 4.5869631
+
\ No newline at end of file |