summaryrefslogtreecommitdiff
path: root/863/CH2/EX2.12
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.12
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.12')
-rw-r--r--863/CH2/EX2.12/Ex2_12.sce15
-rw-r--r--863/CH2/EX2.12/Ex2_12.txt15
-rw-r--r--863/CH2/EX2.12/Result2_12.txt8
3 files changed, 38 insertions, 0 deletions
diff --git a/863/CH2/EX2.12/Ex2_12.sce b/863/CH2/EX2.12/Ex2_12.sce
new file mode 100644
index 000000000..1150f0aae
--- /dev/null
+++ b/863/CH2/EX2.12/Ex2_12.sce
@@ -0,0 +1,15 @@
+//Caption:Calculate amplitude of output waveform for (a)Rise time (b)Fall time
+//Ex2.12
+clc;
+clear;
+close;
+r=1//Resistance(in kilo ohm)
+c=100//Capacitance(in pf)
+tr=1//Rise time(in micro sec)
+tf=3//Fall time(in micro sec)
+e1=8//Change in voltage for rise time(in volts)
+e2=-8//Change in voltage for fall time(in volts)
+eo1=r*c*0.001*e1/tr
+disp(eo1,'Amplitude of output waveform for (a)Rise time(in volts)=')
+eo2=r*c*0.001*e2/tf
+disp(eo2,'Amplitude of output waveform for (b)Fall time(in volts)=') \ No newline at end of file
diff --git a/863/CH2/EX2.12/Ex2_12.txt b/863/CH2/EX2.12/Ex2_12.txt
new file mode 100644
index 000000000..1150f0aae
--- /dev/null
+++ b/863/CH2/EX2.12/Ex2_12.txt
@@ -0,0 +1,15 @@
+//Caption:Calculate amplitude of output waveform for (a)Rise time (b)Fall time
+//Ex2.12
+clc;
+clear;
+close;
+r=1//Resistance(in kilo ohm)
+c=100//Capacitance(in pf)
+tr=1//Rise time(in micro sec)
+tf=3//Fall time(in micro sec)
+e1=8//Change in voltage for rise time(in volts)
+e2=-8//Change in voltage for fall time(in volts)
+eo1=r*c*0.001*e1/tr
+disp(eo1,'Amplitude of output waveform for (a)Rise time(in volts)=')
+eo2=r*c*0.001*e2/tf
+disp(eo2,'Amplitude of output waveform for (b)Fall time(in volts)=') \ No newline at end of file
diff --git a/863/CH2/EX2.12/Result2_12.txt b/863/CH2/EX2.12/Result2_12.txt
new file mode 100644
index 000000000..71233fcd8
--- /dev/null
+++ b/863/CH2/EX2.12/Result2_12.txt
@@ -0,0 +1,8 @@
+ Amplitude of output waveform for (a)Rise time(in volts)=
+
+ 0.8
+
+ Amplitude of output waveform for (b)Fall time(in volts)=
+
+ - 0.2666667
+ \ No newline at end of file