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 --- 1757/CH14/EX14.5/EX14_5.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1757/CH14/EX14.5/EX14_5.sce (limited to '1757/CH14/EX14.5') diff --git a/1757/CH14/EX14.5/EX14_5.sce b/1757/CH14/EX14.5/EX14_5.sce new file mode 100755 index 000000000..3219e5954 --- /dev/null +++ b/1757/CH14/EX14.5/EX14_5.sce @@ -0,0 +1,13 @@ +//Example14.5 // determine the duty cycle of the switching regulator circuit +clc; +clear; +close; +Vo = 4.8 ; // V // output voltage +Vin = 5 ; // V // input voltage + +// The output voltage of switching regulator circuit is given by +// Vo = d*Vin ; + +// Duty cycle is given as +d =Vo/Vin ; +disp('The output voltage of switching regulator circuit is = '+string(d)+' '); -- cgit