summaryrefslogtreecommitdiff
path: root/196/CH6/EX6.1/example_6_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /196/CH6/EX6.1/example_6_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '196/CH6/EX6.1/example_6_1.sce')
-rwxr-xr-x196/CH6/EX6.1/example_6_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/196/CH6/EX6.1/example_6_1.sce b/196/CH6/EX6.1/example_6_1.sce
new file mode 100755
index 000000000..2334fdc7e
--- /dev/null
+++ b/196/CH6/EX6.1/example_6_1.sce
@@ -0,0 +1,13 @@
+//Chapter 6
+//Example 6-1
+//ProbOnThresholdVoltage
+//Page 149,151, Figure 6-1
+clear;clc;
+//Given
+R1 = 100*10^3 ;
+R2 = 86*10^3 ;
+Vsatp = 15 ; Vsatm = -15 ;//Saturation voltages
+Vut = (R2 * Vsatp)/(R1 + R2);
+Vlt = (R2 * Vsatm)/(R1 + R2);
+printf ( "\n\n Upper Threshold Voltage = %.4f V ", Vut )
+printf ( "\n\n Lower Threshold Voltage = %.4f V ", Vlt ) \ No newline at end of file