summaryrefslogtreecommitdiff
path: root/196/CH6/EX6.7
diff options
context:
space:
mode:
Diffstat (limited to '196/CH6/EX6.7')
-rwxr-xr-x196/CH6/EX6.7/example_6_7.sce14
-rwxr-xr-x196/CH6/EX6.7/result_6_7.txt3
2 files changed, 17 insertions, 0 deletions
diff --git a/196/CH6/EX6.7/example_6_7.sce b/196/CH6/EX6.7/example_6_7.sce
new file mode 100755
index 000000000..87a6ccfd2
--- /dev/null
+++ b/196/CH6/EX6.7/example_6_7.sce
@@ -0,0 +1,14 @@
+//Chapter 6
+//Example 6-7
+//ProbOnUnipolarTriangularWaveGenerator
+//Page 159
+clear;clc;
+//Given
+p = 2.8 ;
+Vsatm = -13.8 ;
+Ri = 28*10^3 ;
+C = 0.05*10^-6;
+Vut = - ((Vsatm+0.6)/p);
+f = p / (2*Ri*C);
+printf ( "\n\n Peak Voltage = %.4f V ", Vut )
+printf ( "\n\n frequency = %.4f Hz ", f ) \ No newline at end of file
diff --git a/196/CH6/EX6.7/result_6_7.txt b/196/CH6/EX6.7/result_6_7.txt
new file mode 100755
index 000000000..bf4e2ec43
--- /dev/null
+++ b/196/CH6/EX6.7/result_6_7.txt
@@ -0,0 +1,3 @@
+Peak Voltage = 4.7143 V
+
+frequency = 1000.0000 Hz \ No newline at end of file