summaryrefslogtreecommitdiff
path: root/74/CH4/EX4.4/example4_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '74/CH4/EX4.4/example4_sce.sce')
-rwxr-xr-x74/CH4/EX4.4/example4_sce.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/74/CH4/EX4.4/example4_sce.sce b/74/CH4/EX4.4/example4_sce.sce
new file mode 100755
index 000000000..42e6de224
--- /dev/null
+++ b/74/CH4/EX4.4/example4_sce.sce
@@ -0,0 +1,11 @@
+// chapter 4
+//example 4.4
+//page 196
+Vsat=12;
+R1=1000;R2=3000;//given
+Vlt=(-(+Vsat)*R1)/R2;
+disp(Vlt)// lower threshold
+Vut=(-(-Vsat)*R1)/R2;//upper threshold
+disp(Vut)
+Vh=(R1/R2)*(Vsat-(-Vsat));//hysteresis width
+disp(Vh) \ No newline at end of file