summaryrefslogtreecommitdiff
path: root/181/CH3/EX3.23/example3_23.sce
diff options
context:
space:
mode:
Diffstat (limited to '181/CH3/EX3.23/example3_23.sce')
-rwxr-xr-x181/CH3/EX3.23/example3_23.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/181/CH3/EX3.23/example3_23.sce b/181/CH3/EX3.23/example3_23.sce
new file mode 100755
index 000000000..4353e297a
--- /dev/null
+++ b/181/CH3/EX3.23/example3_23.sce
@@ -0,0 +1,20 @@
+// Sketch steady state output
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 3-23 in page 168
+
+clear; clc; close;
+
+// Given data
+Rf=0; // Forward resistance of diode
+Rr=2*10^6; // Reverse resistance of diode
+
+// Calculation
+printf("Diode conducts when Vi<2.5 V\n");
+printf("Diode is open when Vi>2.5 V and Vo = 2.5+((Vi-2.5)/3)\n");
+printf("Diode conducts when Vi>2.5 V");
+
+// Result
+// Diagram shows the output of the clipping circuit to a sinusoidal input \ No newline at end of file