summaryrefslogtreecommitdiff
path: root/911/CH4/EX4.2/ex_4_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /911/CH4/EX4.2/ex_4_2.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '911/CH4/EX4.2/ex_4_2.sce')
-rw-r--r--911/CH4/EX4.2/ex_4_2.sce37
1 files changed, 37 insertions, 0 deletions
diff --git a/911/CH4/EX4.2/ex_4_2.sce b/911/CH4/EX4.2/ex_4_2.sce
new file mode 100644
index 000000000..76ba5754a
--- /dev/null
+++ b/911/CH4/EX4.2/ex_4_2.sce
@@ -0,0 +1,37 @@
+//example 4.2//
+//How many NAND gate inputs can be driven from the output of a NAND gate of this type//
+clc
+//clears the variables//
+clear
+//clears the screen//
+//given//
+a=0.4
+//I(oh)max in mA//
+b=2.7
+//V(oh) min in V//
+c=2
+//V(ih) min in V//
+d=.8
+//V(il)max in V//
+e=.4
+//V(ol) max in V//
+f=8
+//I(ol)max in mA//
+g=.4
+//I(il)max in mA//
+h=20
+//I(ih) max in micro amp//
+i=1.6
+//I(cch)max in mA//
+j=4.4
+//I(ccl)max in mA//
+t=15
+//t(pLH)=t(pHL) in ns//
+disp('This figure is given by the worst-case fan-out specification of the device')
+s=a*1000/h;
+disp(s,'the HIGH-state fan-out=')
+u=f/g;
+disp(u,'LOW-state fan-out=')
+z=min(s,u);
+disp('Therefore, the number of inputs that can be driven from a single output =')
+disp('V',z) \ No newline at end of file