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 --- 1223/CH15/EX15.6/Ex15_6.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1223/CH15/EX15.6/Ex15_6.sce (limited to '1223/CH15/EX15.6') diff --git a/1223/CH15/EX15.6/Ex15_6.sce b/1223/CH15/EX15.6/Ex15_6.sce new file mode 100755 index 000000000..831272d8c --- /dev/null +++ b/1223/CH15/EX15.6/Ex15_6.sce @@ -0,0 +1,13 @@ +clear; +clc; +//Example 15.6 +R1=10000; +R2=90000; +Vh=10; +Vl=-10; +Vth=R1*Vh/(R1+R2); +printf('\nupper crossover voltage=%.f V\n',Vth) +Vtl=R1*Vl/(R1+R2); +printf('\nlower crossover voltage=%.f V\n',Vtl) +x=Vth-Vtl; +printf('\nhysteresis width =%.fV\n',x) -- cgit