diff options
Diffstat (limited to '911/CH3/EX3.9')
-rw-r--r-- | 911/CH3/EX3.9/ex_3_9.pdf | bin | 0 -> 108010 bytes | |||
-rw-r--r-- | 911/CH3/EX3.9/ex_3_9.sce | 7 | ||||
-rw-r--r-- | 911/CH3/EX3.9/ex_3_9.xcos | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/911/CH3/EX3.9/ex_3_9.pdf b/911/CH3/EX3.9/ex_3_9.pdf Binary files differnew file mode 100644 index 000000000..b5f2eb49c --- /dev/null +++ b/911/CH3/EX3.9/ex_3_9.pdf diff --git a/911/CH3/EX3.9/ex_3_9.sce b/911/CH3/EX3.9/ex_3_9.sce new file mode 100644 index 000000000..84a252f6f --- /dev/null +++ b/911/CH3/EX3.9/ex_3_9.sce @@ -0,0 +1,7 @@ +//example 3.9//
+clc
+//refreshes all variables//
+clear
+//clears the screen//
+disp('Since all the other inputs are permanently tied to logic 1 level, a logic 0 at the inhibit input would produce a logic 1 at the output and a logic 1 at the inhibit input would produce a logic 0 at the output.')
+//result//
\ No newline at end of file diff --git a/911/CH3/EX3.9/ex_3_9.xcos b/911/CH3/EX3.9/ex_3_9.xcos new file mode 100644 index 000000000..5d1f90893 --- /dev/null +++ b/911/CH3/EX3.9/ex_3_9.xcos @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8"?><XcosDiagram background="-1"><mxGraphModel as="model"><root><mxCell id="27e9a6ac:13e572af46a:-7fff"/><mxCell id="27e9a6ac:13e572af46a:-8000" parent="27e9a6ac:13e572af46a:-7fff"/><BasicBlock dependsOnU="1" id="27e9a6ac:13e572af46a:-7fdc" interfaceFunctionName="LOGICAL_OP" parent="27e9a6ac:13e572af46a:-8000" simulationFunctionName="logicalop" simulationFunctionType="C_OR_FORTRAN" style="LOGICAL_OP"><ScilabString as="exprs" height="4" width="1"><data column="0" line="0" value="4"/><data column="0" line="1" value="0"/><data column="0" line="2" value="1"/><data column="0" line="3" value="0"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="140.0" width="230.0" x="210.0" y="140.0"/></BasicBlock><ExplicitOutputPort dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fcf" ordering="1" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="230.0" y="66.0"/></ExplicitOutputPort><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fd3" ordering="1" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fd2" ordering="2" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="46.0"/></ExplicitInputPort><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fd1" ordering="3" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="86.0"/></ExplicitInputPort><ExplicitInputPort connectable="0" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fd0" ordering="4" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="116.0"/></ExplicitInputPort><ConstBlock blockType="d" id="27e9a6ac:13e572af46a:-7fc8" parent="27e9a6ac:13e572af46a:-8000" simulationFunctionType="C_OR_FORTRAN"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="50.0" width="40.0" x="80.0" y="112.0"/></ConstBlock><ExplicitOutputPort connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fc7" ordering="1" parent="27e9a6ac:13e572af46a:-7fc8" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><SplitBlock id="27e9a6ac:13e572af46a:-7fc0" parent="27e9a6ac:13e572af46a:-8000" simulationFunctionType="DEFAULT"><mxGeometry as="geometry" height="7.0" width="7.0" x="167.0" y="127.0"/></SplitBlock><ExplicitInputPort connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fbf" ordering="1" parent="27e9a6ac:13e572af46a:-7fc0" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort><ExplicitOutputPort connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fbe" ordering="1" parent="27e9a6ac:13e572af46a:-7fc0" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitOutputPort connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fbd" ordering="2" parent="27e9a6ac:13e572af46a:-7fc0" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitLink id="27e9a6ac:13e572af46a:-7fbc"><mxGeometry as="geometry" height="80.0" width="80.0"><Array as="points" scilabClass=""/></mxGeometry><mxCell as="parent" id="27e9a6ac:13e572af46a:-8000" parent="27e9a6ac:13e572af46a:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fc7" ordering="1" parent="27e9a6ac:13e572af46a:-7fc8" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0"><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fbf" ordering="1" parent="27e9a6ac:13e572af46a:-7fc0" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="27e9a6ac:13e572af46a:-7fbb"><mxGeometry as="geometry" height="80.0" width="80.0"><Array as="points" scilabClass=""><mxPoint x="170.0" y="130.0"/><mxPoint x="170.0" y="160.0"/></Array></mxGeometry><mxCell as="parent" id="27e9a6ac:13e572af46a:-8000" parent="27e9a6ac:13e572af46a:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fbe" ordering="1" parent="27e9a6ac:13e572af46a:-7fc0" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fd3" ordering="1" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort></ExplicitLink><SplitBlock id="27e9a6ac:13e572af46a:-7fb9" parent="27e9a6ac:13e572af46a:-8000" simulationFunctionType="DEFAULT"><mxGeometry as="geometry" height="7.0" width="7.0" x="137.0" y="177.0"/></SplitBlock><ExplicitInputPort connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fb8" ordering="1" parent="27e9a6ac:13e572af46a:-7fb9" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort><ExplicitOutputPort connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fb7" ordering="1" parent="27e9a6ac:13e572af46a:-7fb9" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitOutputPort connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fb6" ordering="2" parent="27e9a6ac:13e572af46a:-7fb9" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitLink id="27e9a6ac:13e572af46a:-7fb5"><mxGeometry as="geometry" height="80.0" width="80.0"><Array as="points" scilabClass=""><mxPoint x="120.0" y="130.0"/><mxPoint x="140.0" y="130.0"/></Array></mxGeometry><mxCell as="parent" id="27e9a6ac:13e572af46a:-8000" parent="27e9a6ac:13e572af46a:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fbd" ordering="2" parent="27e9a6ac:13e572af46a:-7fc0" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fb8" ordering="1" parent="27e9a6ac:13e572af46a:-7fb9" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="27e9a6ac:13e572af46a:-7fb4"><mxGeometry as="geometry" height="80.0" width="80.0"><Array as="points" scilabClass=""><mxPoint x="140.0" y="190.0"/><mxPoint x="140.0" y="190.0"/></Array></mxGeometry><mxCell as="parent" id="27e9a6ac:13e572af46a:-8000" parent="27e9a6ac:13e572af46a:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fb7" ordering="1" parent="27e9a6ac:13e572af46a:-7fb9" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fd2" ordering="2" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="46.0"/></ExplicitInputPort></ExplicitLink><ExplicitLink id="27e9a6ac:13e572af46a:-7fba"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="206.0" y="230.0"/><mxPoint as="targetPoint" x="140.0" y="180.0"/><Array as="points" scilabClass=""><mxPoint x="140.0" y="230.0"/><mxPoint x="140.0" y="230.0"/></Array></mxGeometry><mxCell as="parent" id="27e9a6ac:13e572af46a:-8000" parent="27e9a6ac:13e572af46a:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataType="UNKNOW_TYPE" id="27e9a6ac:13e572af46a:-7fb6" ordering="2" parent="27e9a6ac:13e572af46a:-7fb9" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;spacingRight=5;rotation=0" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fd1" ordering="3" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="86.0"/></ExplicitInputPort></ExplicitLink><ConstBlock blockType="d" id="27e9a6ac:13e572af46a:-7fb3" parent="27e9a6ac:13e572af46a:-8000" simulationFunctionType="C_OR_FORTRAN" value="Input"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="50.0" width="50.0" x="80.0" y="252.0"/></ConstBlock><ExplicitOutputPort connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fb2" ordering="1" parent="27e9a6ac:13e572af46a:-7fb3" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="50.0" y="16.0"/></ExplicitOutputPort><ExplicitLink id="27e9a6ac:13e572af46a:-7fb1"><mxGeometry as="geometry"><mxPoint as="sourcePoint" x="124.0" y="272.0"/><mxPoint as="targetPoint" x="200.0" y="260.0"/><Array as="points" scilabClass=""><mxPoint x="190.0" y="270.0"/></Array></mxGeometry><mxCell as="parent" id="27e9a6ac:13e572af46a:-8000" parent="27e9a6ac:13e572af46a:-7fff"/><ExplicitOutputPort as="source" connectable="0" dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fb2" ordering="1" parent="27e9a6ac:13e572af46a:-7fb3" style="ExplicitOutputPort;align=center;labelPosition=left;verticalLabelPosition=middle;rotation=0;spacingRight=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="50.0" y="16.0"/></ExplicitOutputPort><ExplicitInputPort as="target" connectable="0" dataType="REAL_MATRIX" id="27e9a6ac:13e572af46a:-7fd0" ordering="4" parent="27e9a6ac:13e572af46a:-7fdc" style="ExplicitInputPort;align=center;labelPosition=right;verticalLabelPosition=middle;rotation=0;spacingLeft=5"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="116.0"/></ExplicitInputPort></ExplicitLink><TextBlock id="27e9a6ac:13e572af46a:-7fae" parent="27e9a6ac:13e572af46a:-8000" simulationFunctionType="DEFAULT" value="<html> <head> <style type="text/css"> <!-- body { color: black; font-size: 11 pt; font-family: Arial,Helvetica } --> </style> </head> <body> INHIBIT GATE </body> </html> "><mxGeometry as="geometry" height="60.0" width="190.0" x="230.0" y="50.0"/></TextBlock></root></mxGraphModel><mxCell as="defaultParent" id="27e9a6ac:13e572af46a:-8000" parent="27e9a6ac:13e572af46a:-7fff"/></XcosDiagram>
\ No newline at end of file |