summaryrefslogtreecommitdiff
path: root/863/CH2/EX2.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /863/CH2/EX2.3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '863/CH2/EX2.3')
-rw-r--r--863/CH2/EX2.3/Ex2_3.sce12
-rw-r--r--863/CH2/EX2.3/Ex2_3.txt12
-rw-r--r--863/CH2/EX2.3/Result2_3.txt3
3 files changed, 27 insertions, 0 deletions
diff --git a/863/CH2/EX2.3/Ex2_3.sce b/863/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..1ea9072ce
--- /dev/null
+++ b/863/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,12 @@
+//Caption:Calculate voltage after 8ms
+//Ex:2.3
+clc;
+clear;
+close;
+c=1//Capacitance of capacitor(in micro farad)
+vs=6//Source voltage(in volts)
+r=10//Resistor(in kilo ohm)
+vi=-3//Initial voltage(in volts)
+t=8//Time (in milli sec)
+e=vs-((vs-vi)*2.718^(-t/(r*c)))
+disp(e,'Voltage after 8ms(in volts)=') \ No newline at end of file
diff --git a/863/CH2/EX2.3/Ex2_3.txt b/863/CH2/EX2.3/Ex2_3.txt
new file mode 100644
index 000000000..1ea9072ce
--- /dev/null
+++ b/863/CH2/EX2.3/Ex2_3.txt
@@ -0,0 +1,12 @@
+//Caption:Calculate voltage after 8ms
+//Ex:2.3
+clc;
+clear;
+close;
+c=1//Capacitance of capacitor(in micro farad)
+vs=6//Source voltage(in volts)
+r=10//Resistor(in kilo ohm)
+vi=-3//Initial voltage(in volts)
+t=8//Time (in milli sec)
+e=vs-((vs-vi)*2.718^(-t/(r*c)))
+disp(e,'Voltage after 8ms(in volts)=') \ No newline at end of file
diff --git a/863/CH2/EX2.3/Result2_3.txt b/863/CH2/EX2.3/Result2_3.txt
new file mode 100644
index 000000000..6ff6e1017
--- /dev/null
+++ b/863/CH2/EX2.3/Result2_3.txt
@@ -0,0 +1,3 @@
+Voltage after 8ms(in volts)=
+
+ 1.9557039 \ No newline at end of file