summaryrefslogtreecommitdiff
path: root/196/CH3/EX3.17
diff options
context:
space:
mode:
Diffstat (limited to '196/CH3/EX3.17')
-rwxr-xr-x196/CH3/EX3.17/example_3_17.sce15
-rwxr-xr-x196/CH3/EX3.17/result_3_17.txt8
2 files changed, 23 insertions, 0 deletions
diff --git a/196/CH3/EX3.17/example_3_17.sce b/196/CH3/EX3.17/example_3_17.sce
new file mode 100755
index 000000000..d0f1d1225
--- /dev/null
+++ b/196/CH3/EX3.17/example_3_17.sce
@@ -0,0 +1,15 @@
+//Chapter 3
+//Example 3-17
+//ProbOnEquilibriumVoltage
+//Page 72
+clear;clc;
+//Given
+Ei=4;//in volts
+Vf=Ei;//feedback voltage
+Vout=2*Vf;//output voltage
+Vr=-Vout;//Reference voltage
+Vcap=3*Ei;//capacitor voltage
+printf("\n\n Value of feedback voltage = %.4f V \n\n",Vf)
+printf("\n\n Value of output voltage = %.4f V \n\n",Vout)
+printf("\n\n Value of reference voltage = %.4f V \n\n",Vr)
+printf("\n\n Value of capacitor voltage = %.4f V \n\n",Vcap) \ No newline at end of file
diff --git a/196/CH3/EX3.17/result_3_17.txt b/196/CH3/EX3.17/result_3_17.txt
new file mode 100755
index 000000000..74bfb8718
--- /dev/null
+++ b/196/CH3/EX3.17/result_3_17.txt
@@ -0,0 +1,8 @@
+
+Value of feedback voltage = 4.0000 V
+
+Value of output voltage = 8.0000 V
+
+Value of reference voltage = -8.0000 V
+
+Value of capacitor voltage = 12.0000 V