diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1223/CH15/EX15.6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1223/CH15/EX15.6')
-rwxr-xr-x | 1223/CH15/EX15.6/Ex15_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
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)
|