From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 181/CH3/EX3.24/example3_24.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 181/CH3/EX3.24/example3_24.sce (limited to '181/CH3/EX3.24/example3_24.sce') diff --git a/181/CH3/EX3.24/example3_24.sce b/181/CH3/EX3.24/example3_24.sce new file mode 100755 index 000000000..0fde79333 --- /dev/null +++ b/181/CH3/EX3.24/example3_24.sce @@ -0,0 +1,23 @@ +// Sketch output voltage Vo +// Basic Electronics +// By Debashis De +// First Edition, 2010 +// Dorling Kindersley Pvt. Ltd. India +// Example 3-24 in page 169 + +clear; clc; close; + +// Given data +// Data is provided in the diagrams + +// Calculation +printf("(a)When Vi<50 V, Second diode conducts\n"); +Vo=100-((2/3)*27); +printf("Vo = %0.0f V\n",Vo); +printf("When 50100, only the first diode conducts.Hence Vo = 100 V\n"); +printf("(b)When Vi<25 V,neither diodes conduct and Vo = 25 V.When Vi>25,upper diode conducts\n"); +Vi=((100-25)*(3/2))+25; +printf("When Vo reaches 100 V, Vi rises to %0.1f V",Vi); + +// Result +// The output voltage is shown in the xcos diagrams \ No newline at end of file -- cgit