summaryrefslogtreecommitdiff
path: root/3885/CH3
diff options
context:
space:
mode:
Diffstat (limited to '3885/CH3')
-rw-r--r--3885/CH3/EX3.1/Ex3_1.sci18
-rw-r--r--3885/CH3/EX3.1/Ex3_1.xcos437
-rw-r--r--3885/CH3/EX3.2/Ex3_2.sci19
-rw-r--r--3885/CH3/EX3.2/Ex3_2.xcos361
-rw-r--r--3885/CH3/EX3.3/Ex3_3.sci19
-rw-r--r--3885/CH3/EX3.4/Ex3_4.sci24
-rw-r--r--3885/CH3/EX3.6/Ex3_6.sci34
-rw-r--r--3885/CH3/EX3.6/Ex3_6.xcos363
-rw-r--r--3885/CH3/EX3.7/Ex3_7.sci28
-rw-r--r--3885/CH3/EX3.7/Ex3_7.xcos361
-rw-r--r--3885/CH3/EX3.9/Ex3_9.sci35
11 files changed, 1699 insertions, 0 deletions
diff --git a/3885/CH3/EX3.1/Ex3_1.sci b/3885/CH3/EX3.1/Ex3_1.sci
new file mode 100644
index 000000000..43906e3c8
--- /dev/null
+++ b/3885/CH3/EX3.1/Ex3_1.sci
@@ -0,0 +1,18 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 3.1
+
+clc;
+clear;
+s=%s
+p=poly([4],'s','coeff')
+q=poly([0 5 1],'s','coeff')
+g=p./q
+disp(g,'the given transfer function is')
+c=g/(1+g)
+disp(c,'the closed loop transfer function is')
+u=c/s
+disp(u,'the in put is unit step signal')
diff --git a/3885/CH3/EX3.1/Ex3_1.xcos b/3885/CH3/EX3.1/Ex3_1.xcos
new file mode 100644
index 000000000..69d8064a7
--- /dev/null
+++ b/3885/CH3/EX3.1/Ex3_1.xcos
@@ -0,0 +1,437 @@
+<?xml version="1.0" ?>
+<XcosDiagram debugLevel="0" finalIntegrationTime="30.0" integratorAbsoluteTolerance="1.0E-6" integratorRelativeTolerance="1.0E-6" toleranceOnTime="1.0E-10" maxIntegrationTimeInterval="100001.0" maximumStepSize="0.0" realTimeScaling="0.0" solver="1.0" background="-1" gridEnabled="1" title="Ex3_1"><!--Xcos - 2.0 - scilab-6.0.0 - 20170214 1426-->
+ <Array as="context" scilabClass="String[]"></Array>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="0:1:0"/>
+ <mxCell id="0:2:0" parent="0:1:0"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7ff5" parent="0:2:0" interfaceFunctionName="CLR" blockType="c" dependsOnU="0" dependsOnT="1" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR">
+ <ScilabString as="exprs" height="2" width="1">
+ <data line="0" column="0" value="4"/>
+ <data line="1" column="0" value="s*(s+5)"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="9">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="-0.0"/>
+ <data line="0" column="2" realPart="1.0"/>
+ <data line="0" column="3" realPart="-5.0"/>
+ <data line="0" column="4" realPart="0.0"/>
+ <data line="0" column="5" realPart="1.0"/>
+ <data line="0" column="6" realPart="4.0"/>
+ <data line="0" column="7" realPart="0.0"/>
+ <data line="0" column="8" realPart="0.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="1" width="2">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="0.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="260.0" y="100.0" width="60.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitInputPort id="3ae06065:15fd4914b84:-7ff4" parent="3ae06065:15fd4914b84:-7ff5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ExplicitOutputPort id="3ae06065:15fd4914b84:-7ff3" parent="3ae06065:15fd4914b84:-7ff5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7ff2" parent="0:2:0" interfaceFunctionName="STEP_FUNCTION" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="STEP_FUNCTION">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="40.0" y="90.0" width="40.0" height="40.0"/>
+ <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="3ae06065:15fd4914b85:-7ff2"/>
+ <mxCell id="3ae06065:15fd4914b86:-7ff2" parent="3ae06065:15fd4914b85:-7ff2"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7fcd" parent="3ae06065:15fd4914b86:-7ff2" interfaceFunctionName="STEP" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="step_func" simulationFunctionType="C_OR_FORTRAN" style="">
+ <ScilabString as="exprs" height="3" width="1">
+ <data line="0" column="0" value="1"/>
+ <data line="1" column="0" value="0"/>
+ <data line="2" column="0" value="50"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="50.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="0.0" y="0.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitOutputPort id="3ae06065:15fd4914b84:-7fcc" parent="3ae06065:15fd4914b84:-7fcd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0"/>
+ <ControlPort id="3ae06065:15fd4914b84:-7fcb" parent="3ae06065:15fd4914b84:-7fcd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="3ae06065:15fd4914b84:-7fca" parent="3ae06065:15fd4914b84:-7fcd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="1.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <ExplicitOutBlock id="3ae06065:15fd4914b84:-7fc9" parent="3ae06065:15fd4914b86:-7ff2" interfaceFunctionName="OUT_f" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style="">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="1"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="80.0" y="10.0" width="20.0" height="20.0"/>
+ </ExplicitOutBlock>
+ <ExplicitInputPort id="3ae06065:15fd4914b84:-7fc8" parent="3ae06065:15fd4914b84:-7fc9" ordering="1" dataType="REAL_MATRIX" dataColumns="-2" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0"/>
+ <ExplicitLink id="3ae06065:15fd4914b84:-7fc7" parent="3ae06065:15fd4914b86:-7ff2" source="3ae06065:15fd4914b84:-7fcc" target="3ae06065:15fd4914b84:-7fc8" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7fc6" parent="3ae06065:15fd4914b86:-7ff2" source="3ae06065:15fd4914b84:-7fca" target="3ae06065:15fd4914b84:-7fcb" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points">
+ <mxPoint x="20.0" y="-20.0"/>
+ <mxPoint x="-20.0" y="-20.0"/>
+ <mxPoint x="-20.0" y="60.0"/>
+ <mxPoint x="20.0" y="60.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="1.0" y="1.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="3ae06065:15fd4914b86:-7ff2" parent="3ae06065:15fd4914b85:-7ff2"/>
+ </SuperBlockDiagram>
+ </BasicBlock>
+ <ExplicitOutputPort id="3ae06065:15fd4914b84:-7ff1" parent="3ae06065:15fd4914b84:-7ff2" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BigSom id="3ae06065:15fd4914b84:-7ff0" parent="0:2:0" interfaceFunctionName="BIGSOM_f" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="sum" simulationFunctionType="TYPE_2" style="BIGSOM_f" value="+">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="[1;-1]"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="1.0"/>
+ <data line="0" column="1" realPart="-1.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="160.0" y="90.0" width="40.0" height="60.0"/>
+ </BigSom>
+ <ExplicitInputPort id="3ae06065:15fd4914b84:-7fef" parent="3ae06065:15fd4914b84:-7ff0" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ExplicitInputPort id="3ae06065:15fd4914b84:-7fee" parent="3ae06065:15fd4914b84:-7ff0" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ExplicitOutputPort id="3ae06065:15fd4914b84:-7fed" parent="3ae06065:15fd4914b84:-7ff0" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7fe6" parent="0:2:0" interfaceFunctionName="CSCOPE" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="cscope" simulationFunctionType="C_OR_FORTRAN" style="CSCOPE">
+ <ScilabString as="exprs" height="10" width="1">
+ <data line="0" column="0" value="1 3 5 7 9 11 13 15"/>
+ <data line="1" column="0" value="-1"/>
+ <data line="2" column="0" value="[]"/>
+ <data line="3" column="0" value="[600;400]"/>
+ <data line="4" column="0" value="0"/>
+ <data line="5" column="0" value="60"/>
+ <data line="6" column="0" value="30"/>
+ <data line="7" column="0" value="20"/>
+ <data line="8" column="0" value="0"/>
+ <data line="9" column="0" value=""/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="4">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="0.0"/>
+ <data line="0" column="2" realPart="60.0"/>
+ <data line="0" column="3" realPart="30.0"/>
+ </ScilabDouble>
+ <ScilabInteger as="integerParameters" height="1" width="15" intPrecision="sci_int32">
+ <data line="0" column="0" value="-1"/>
+ <data line="0" column="1" value="1"/>
+ <data line="0" column="2" value="20"/>
+ <data line="0" column="3" value="1"/>
+ <data line="0" column="4" value="3"/>
+ <data line="0" column="5" value="5"/>
+ <data line="0" column="6" value="7"/>
+ <data line="0" column="7" value="9"/>
+ <data line="0" column="8" value="11"/>
+ <data line="0" column="9" value="13"/>
+ <data line="0" column="10" value="15"/>
+ <data line="0" column="11" value="-1"/>
+ <data line="0" column="12" value="-1"/>
+ <data line="0" column="13" value="600"/>
+ <data line="0" column="14" value="400"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="425.0" y="105.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitInputPort id="3ae06065:15fd4914b84:-7fe5" parent="3ae06065:15fd4914b84:-7fe6" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ControlPort id="3ae06065:15fd4914b84:-7fe4" parent="3ae06065:15fd4914b84:-7fe6" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7fe3" parent="0:2:0" interfaceFunctionName="CLOCK_c" blockType="h" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="415.0" y="25.0" width="40.0" height="40.0"/>
+ <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="3ae06065:15fd4914b85:-7fe3"/>
+ <mxCell id="3ae06065:15fd4914b86:-7fe3" parent="3ae06065:15fd4914b85:-7fe3"/>
+ <EventOutBlock id="3ae06065:15fd4914b84:-7fc5" parent="3ae06065:15fd4914b86:-7fe3" interfaceFunctionName="CLKOUT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style="">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="1"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="399.0" y="162.0" width="20.0" height="20.0"/>
+ </EventOutBlock>
+ <ControlPort id="3ae06065:15fd4914b84:-7fc4" parent="3ae06065:15fd4914b84:-7fc5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7fc3" parent="3ae06065:15fd4914b86:-7fe3" interfaceFunctionName="EVTDLY_c" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="evtdly4" simulationFunctionType="C_OR_FORTRAN" style="">
+ <ScilabString as="exprs" height="2" width="1">
+ <data line="0" column="0" value="0.01"/>
+ <data line="1" column="0" value="0.1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="0.01"/>
+ <data line="0" column="1" realPart="0.1"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="320.0" y="232.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ControlPort id="3ae06065:15fd4914b84:-7fc2" parent="3ae06065:15fd4914b84:-7fc3" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="3ae06065:15fd4914b84:-7fc1" parent="3ae06065:15fd4914b84:-7fc3" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.1" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <SplitBlock id="3ae06065:15fd4914b84:-7fc0" parent="3ae06065:15fd4914b86:-7fe3" interfaceFunctionName="CLKSPLIT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="split" simulationFunctionType="DEFAULT" style="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="380.71066" y="172.0" width="7.0" height="7.0"/>
+ </SplitBlock>
+ <ControlPort id="3ae06065:15fd4914b84:-7fbf" parent="3ae06065:15fd4914b84:-7fc0" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="3ae06065:15fd4914b84:-7fbe" parent="3ae06065:15fd4914b84:-7fc0" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <CommandPort id="3ae06065:15fd4914b84:-7fbd" parent="3ae06065:15fd4914b84:-7fc0" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7fbc" parent="3ae06065:15fd4914b86:-7fe3" source="3ae06065:15fd4914b84:-7fc1" target="3ae06065:15fd4914b84:-7fbf" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="340.0" y="226.29"/>
+ <Array as="points">
+ <mxPoint x="340.0" y="172.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="380.71" y="172.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7fbb" parent="3ae06065:15fd4914b86:-7fe3" source="3ae06065:15fd4914b84:-7fbe" target="3ae06065:15fd4914b84:-7fc4" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="380.71" y="172.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="399.0" y="172.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7fba" parent="3ae06065:15fd4914b86:-7fe3" source="3ae06065:15fd4914b84:-7fbd" target="3ae06065:15fd4914b84:-7fc2" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="380.71" y="172.0"/>
+ <Array as="points">
+ <mxPoint x="380.71" y="302.0"/>
+ <mxPoint x="340.0" y="302.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="340.0" y="277.71"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="3ae06065:15fd4914b86:-7fe3" parent="3ae06065:15fd4914b85:-7fe3"/>
+ </SuperBlockDiagram>
+ </BasicBlock>
+ <CommandPort id="3ae06065:15fd4914b84:-7fe2" parent="3ae06065:15fd4914b84:-7fe3" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0;rotation=90"/>
+ <SplitBlock id="3820b65e:15fe277c764:-7fd9" parent="0:2:0" interfaceFunctionName="SPLIT_f" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="lsplit" simulationFunctionType="DEFAULT" style="SPLIT_f">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="366.5" y="116.5" width="7.0" height="7.0"/>
+ </SplitBlock>
+ <ExplicitInputPort id="3820b65e:15fe277c764:-7fd8" parent="3820b65e:15fe277c764:-7fd9" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0"/>
+ <ExplicitOutputPort id="3820b65e:15fe277c764:-7fd7" parent="3820b65e:15fe277c764:-7fd9" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0"/>
+ <ExplicitOutputPort id="3820b65e:15fe277c764:-7fd6" parent="3820b65e:15fe277c764:-7fd9" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0"/>
+ <ExplicitOutputPort id="3820b65e:15fe277c764:-7fd5" parent="3820b65e:15fe277c764:-7fd9" ordering="3" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0"/>
+ <ExplicitLink id="3ae06065:15fd4914b84:-7fe8" parent="0:2:0" source="3ae06065:15fd4914b84:-7ff1" target="3ae06065:15fd4914b84:-7fef" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <ExplicitLink id="3ae06065:15fd4914b84:-7fe7" parent="0:2:0" source="3ae06065:15fd4914b84:-7fed" target="3ae06065:15fd4914b84:-7ff4" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7fe1" parent="0:2:0" source="3ae06065:15fd4914b84:-7fe2" target="3ae06065:15fd4914b84:-7fe4" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <ExplicitLink id="3820b65e:15fe277c764:-7fd4" parent="0:2:0" source="3ae06065:15fd4914b84:-7ff3" target="3820b65e:15fe277c764:-7fd8" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="64.0" y="20.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="4.0" y="4.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <ExplicitLink id="3820b65e:15fe277c764:-7fd3" parent="0:2:0" source="3820b65e:15fe277c764:-7fd7" target="3ae06065:15fd4914b84:-7fe5" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="4.0" y="4.0"/>
+ <Array as="points">
+ <mxPoint x="380.0" y="120.0"/>
+ <mxPoint x="400.0" y="120.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="-4.0" y="20.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <ExplicitLink id="3820b65e:15fe277c764:-7fda" parent="0:2:0" source="3820b65e:15fe277c764:-7fd6" target="3ae06065:15fd4914b84:-7fee" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="-4.0" y="40.0"/>
+ <Array as="points">
+ <mxPoint x="150.0" y="130.0"/>
+ <mxPoint x="130.0" y="130.0"/>
+ <mxPoint x="140.0" y="250.0"/>
+ <mxPoint x="370.0" y="260.0"/>
+ <mxPoint x="370.0" y="120.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="0:2:0" parent="0:1:0"/>
+</XcosDiagram> \ No newline at end of file
diff --git a/3885/CH3/EX3.2/Ex3_2.sci b/3885/CH3/EX3.2/Ex3_2.sci
new file mode 100644
index 000000000..0af5261eb
--- /dev/null
+++ b/3885/CH3/EX3.2/Ex3_2.sci
@@ -0,0 +1,19 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 3.2
+
+clc;
+clear;
+s=%s
+p=poly([100],'s','coeff')
+q=poly([0 2 1],'s','coeff')
+h=poly([1 0.1 0 ],'s','coeff')
+g=p./q
+disp(g,'the given transfer function is')
+c=g/(1+(g*h))
+disp(c,'the closed loop transfer function is')
+u=c/s
+disp(u,'the in put is unit step signal')
diff --git a/3885/CH3/EX3.2/Ex3_2.xcos b/3885/CH3/EX3.2/Ex3_2.xcos
new file mode 100644
index 000000000..8709b952c
--- /dev/null
+++ b/3885/CH3/EX3.2/Ex3_2.xcos
@@ -0,0 +1,361 @@
+<?xml version="1.0" ?>
+<XcosDiagram debugLevel="0" finalIntegrationTime="30.0" integratorAbsoluteTolerance="1.0E-6" integratorRelativeTolerance="1.0E-6" toleranceOnTime="1.0E-10" maxIntegrationTimeInterval="100001.0" maximumStepSize="0.0" realTimeScaling="0.0" solver="1.0" background="-1" gridEnabled="1" title="Ex3_2"><!--Xcos - 2.0 - scilab-6.0.0 - 20170214 1426-->
+ <Array as="context" scilabClass="String[]"></Array>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="0:1:0"/>
+ <mxCell id="0:2:0" parent="0:1:0"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7fb6" parent="0:2:0" interfaceFunctionName="CLR" blockType="c" dependsOnU="0" dependsOnT="1" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR">
+ <ScilabString as="exprs" height="2" width="1">
+ <data line="0" column="0" value="100"/>
+ <data line="1" column="0" value="s^2+12*s+100"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="9">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="-100.0"/>
+ <data line="0" column="2" realPart="1.0"/>
+ <data line="0" column="3" realPart="-12.0"/>
+ <data line="0" column="4" realPart="0.0"/>
+ <data line="0" column="5" realPart="1.0"/>
+ <data line="0" column="6" realPart="100.0"/>
+ <data line="0" column="7" realPart="0.0"/>
+ <data line="0" column="8" realPart="0.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="1" width="2">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="0.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="210.0" y="80.0" width="130.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitInputPort id="3ae06065:15fd4914b84:-7fb5" parent="3ae06065:15fd4914b84:-7fb6" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ExplicitOutputPort id="3ae06065:15fd4914b84:-7fb4" parent="3ae06065:15fd4914b84:-7fb6" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7fad" parent="0:2:0" interfaceFunctionName="STEP_FUNCTION" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="STEP_FUNCTION">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="85.0" y="85.0" width="40.0" height="40.0"/>
+ <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="3ae06065:15fd4914b85:-7fad"/>
+ <mxCell id="3ae06065:15fd4914b86:-7fad" parent="3ae06065:15fd4914b85:-7fad"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7fa1" parent="3ae06065:15fd4914b86:-7fad" interfaceFunctionName="STEP" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="step_func" simulationFunctionType="C_OR_FORTRAN" style="">
+ <ScilabString as="exprs" height="3" width="1">
+ <data line="0" column="0" value="1"/>
+ <data line="1" column="0" value="0"/>
+ <data line="2" column="0" value="40"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="40.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="0.0" y="0.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitOutputPort id="3ae06065:15fd4914b84:-7fa0" parent="3ae06065:15fd4914b84:-7fa1" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0"/>
+ <ControlPort id="3ae06065:15fd4914b84:-7f9f" parent="3ae06065:15fd4914b84:-7fa1" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="3ae06065:15fd4914b84:-7f9e" parent="3ae06065:15fd4914b84:-7fa1" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="1.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <ExplicitOutBlock id="3ae06065:15fd4914b84:-7f9d" parent="3ae06065:15fd4914b86:-7fad" interfaceFunctionName="OUT_f" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style="">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="1"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="80.0" y="10.0" width="20.0" height="20.0"/>
+ </ExplicitOutBlock>
+ <ExplicitInputPort id="3ae06065:15fd4914b84:-7f9c" parent="3ae06065:15fd4914b84:-7f9d" ordering="1" dataType="REAL_MATRIX" dataColumns="-2" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0"/>
+ <ExplicitLink id="3ae06065:15fd4914b84:-7f9b" parent="3ae06065:15fd4914b86:-7fad" source="3ae06065:15fd4914b84:-7fa0" target="3ae06065:15fd4914b84:-7f9c" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7f9a" parent="3ae06065:15fd4914b86:-7fad" source="3ae06065:15fd4914b84:-7f9e" target="3ae06065:15fd4914b84:-7f9f" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points">
+ <mxPoint x="20.0" y="-20.0"/>
+ <mxPoint x="-20.0" y="-20.0"/>
+ <mxPoint x="-20.0" y="60.0"/>
+ <mxPoint x="20.0" y="60.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="1.0" y="1.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="3ae06065:15fd4914b86:-7fad" parent="3ae06065:15fd4914b85:-7fad"/>
+ </SuperBlockDiagram>
+ </BasicBlock>
+ <ExplicitOutputPort id="3ae06065:15fd4914b84:-7fac" parent="3ae06065:15fd4914b84:-7fad" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7faa" parent="0:2:0" interfaceFunctionName="CSCOPE" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="cscope" simulationFunctionType="C_OR_FORTRAN" style="CSCOPE">
+ <ScilabString as="exprs" height="10" width="1">
+ <data line="0" column="0" value="1 3 5 7 9 11 13 15"/>
+ <data line="1" column="0" value="-1"/>
+ <data line="2" column="0" value="[]"/>
+ <data line="3" column="0" value="[600;400]"/>
+ <data line="4" column="0" value="0"/>
+ <data line="5" column="0" value="50"/>
+ <data line="6" column="0" value="30"/>
+ <data line="7" column="0" value="20"/>
+ <data line="8" column="0" value="0"/>
+ <data line="9" column="0" value=""/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="4">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="0.0"/>
+ <data line="0" column="2" realPart="50.0"/>
+ <data line="0" column="3" realPart="30.0"/>
+ </ScilabDouble>
+ <ScilabInteger as="integerParameters" height="1" width="15" intPrecision="sci_int32">
+ <data line="0" column="0" value="-1"/>
+ <data line="0" column="1" value="1"/>
+ <data line="0" column="2" value="20"/>
+ <data line="0" column="3" value="1"/>
+ <data line="0" column="4" value="3"/>
+ <data line="0" column="5" value="5"/>
+ <data line="0" column="6" value="7"/>
+ <data line="0" column="7" value="9"/>
+ <data line="0" column="8" value="11"/>
+ <data line="0" column="9" value="13"/>
+ <data line="0" column="10" value="15"/>
+ <data line="0" column="11" value="-1"/>
+ <data line="0" column="12" value="-1"/>
+ <data line="0" column="13" value="600"/>
+ <data line="0" column="14" value="400"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="425.0" y="85.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitInputPort id="3ae06065:15fd4914b84:-7fa9" parent="3ae06065:15fd4914b84:-7faa" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ControlPort id="3ae06065:15fd4914b84:-7fa8" parent="3ae06065:15fd4914b84:-7faa" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7fa6" parent="0:2:0" interfaceFunctionName="CLOCK_c" blockType="h" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="425.0" y="5.0" width="40.0" height="40.0"/>
+ <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="3ae06065:15fd4914b85:-7fa6"/>
+ <mxCell id="3ae06065:15fd4914b86:-7fa6" parent="3ae06065:15fd4914b85:-7fa6"/>
+ <EventOutBlock id="3ae06065:15fd4914b84:-7f99" parent="3ae06065:15fd4914b86:-7fa6" interfaceFunctionName="CLKOUT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style="">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="1"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="399.0" y="162.0" width="20.0" height="20.0"/>
+ </EventOutBlock>
+ <ControlPort id="3ae06065:15fd4914b84:-7f98" parent="3ae06065:15fd4914b84:-7f99" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <BasicBlock id="3ae06065:15fd4914b84:-7f97" parent="3ae06065:15fd4914b86:-7fa6" interfaceFunctionName="EVTDLY_c" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="evtdly4" simulationFunctionType="C_OR_FORTRAN" style="">
+ <ScilabString as="exprs" height="2" width="1">
+ <data line="0" column="0" value="0.1"/>
+ <data line="1" column="0" value="0.1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="0.1"/>
+ <data line="0" column="1" realPart="0.1"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="320.0" y="232.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ControlPort id="3ae06065:15fd4914b84:-7f96" parent="3ae06065:15fd4914b84:-7f97" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="3ae06065:15fd4914b84:-7f95" parent="3ae06065:15fd4914b84:-7f97" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.1" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <SplitBlock id="3ae06065:15fd4914b84:-7f94" parent="3ae06065:15fd4914b86:-7fa6" interfaceFunctionName="CLKSPLIT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="split" simulationFunctionType="DEFAULT" style="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="380.71066" y="172.0" width="7.0" height="7.0"/>
+ </SplitBlock>
+ <ControlPort id="3ae06065:15fd4914b84:-7f93" parent="3ae06065:15fd4914b84:-7f94" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="3ae06065:15fd4914b84:-7f92" parent="3ae06065:15fd4914b84:-7f94" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <CommandPort id="3ae06065:15fd4914b84:-7f91" parent="3ae06065:15fd4914b84:-7f94" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7f90" parent="3ae06065:15fd4914b86:-7fa6" source="3ae06065:15fd4914b84:-7f95" target="3ae06065:15fd4914b84:-7f93" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="340.0" y="226.29"/>
+ <Array as="points">
+ <mxPoint x="340.0" y="172.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="380.71" y="172.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7f8f" parent="3ae06065:15fd4914b86:-7fa6" source="3ae06065:15fd4914b84:-7f92" target="3ae06065:15fd4914b84:-7f98" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="380.71" y="172.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="399.0" y="172.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7f8e" parent="3ae06065:15fd4914b86:-7fa6" source="3ae06065:15fd4914b84:-7f91" target="3ae06065:15fd4914b84:-7f96" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="380.71" y="172.0"/>
+ <Array as="points">
+ <mxPoint x="380.71" y="302.0"/>
+ <mxPoint x="340.0" y="302.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="340.0" y="277.71"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="3ae06065:15fd4914b86:-7fa6" parent="3ae06065:15fd4914b85:-7fa6"/>
+ </SuperBlockDiagram>
+ </BasicBlock>
+ <CommandPort id="3ae06065:15fd4914b84:-7fa5" parent="3ae06065:15fd4914b84:-7fa6" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0;rotation=90"/>
+ <ExplicitLink id="3ae06065:15fd4914b84:-7fab" parent="0:2:0" source="3ae06065:15fd4914b84:-7fac" target="3ae06065:15fd4914b84:-7fb5" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <ExplicitLink id="3ae06065:15fd4914b84:-7fa7" parent="0:2:0" source="3ae06065:15fd4914b84:-7fb4" target="3ae06065:15fd4914b84:-7fa9" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <CommandControlLink id="3ae06065:15fd4914b84:-7fa4" parent="0:2:0" source="3ae06065:15fd4914b84:-7fa5" target="3ae06065:15fd4914b84:-7fa8" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="0:2:0" parent="0:1:0"/>
+</XcosDiagram> \ No newline at end of file
diff --git a/3885/CH3/EX3.3/Ex3_3.sci b/3885/CH3/EX3.3/Ex3_3.sci
new file mode 100644
index 000000000..8570f5e49
--- /dev/null
+++ b/3885/CH3/EX3.3/Ex3_3.sci
@@ -0,0 +1,19 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 3.3
+
+clc;
+clear;
+s=poly(0,'s')
+// the input is unit step signal
+h=syslin('c', 600/(s^2+70*s+600))//the closed loop transfer function
+disp(h,'the closed loop transfer function')
+//standard form od second order system is w^2/s^2+2*zeta*w*s+w^2
+//compaing h with the standard form
+w=sqrt(600)//natural frequency of oscillation
+disp(w,'natural frequency of oscillation in rad/sec')
+zeta=70/(2*w)//damping ratio
+disp(zeta,'damping ratio')
diff --git a/3885/CH3/EX3.4/Ex3_4.sci b/3885/CH3/EX3.4/Ex3_4.sci
new file mode 100644
index 000000000..c973cba99
--- /dev/null
+++ b/3885/CH3/EX3.4/Ex3_4.sci
@@ -0,0 +1,24 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 3.4
+
+clc;
+clear;
+s=poly(0,'s')
+// the input is unit step signal
+h=syslin('c',100/(s^2+10*s+100))//the value of k is 100
+k=100
+zeta=0.5//given damping ratio
+disp(k,'the value of k is')
+disp(h,'the closed loop transfer function')
+//standard form od second order system is w^2/s^2+2*zeta*w*s+w^2
+//compaing h with the standard form
+w=sqrt(k)//natural frequency of oscillation
+disp(w,'natural frequency of oscillation in rad/sec')
+mp=exp((-zeta*%pi)/sqrt(1-(zeta)^2))*100//percentage peak overshoot
+disp(mp,'percentage peak overshoot in percentage')
+tp=%pi/(w*sqrt(1-(zeta)^2))
+disp(tp,'peak time in seconds')
diff --git a/3885/CH3/EX3.6/Ex3_6.sci b/3885/CH3/EX3.6/Ex3_6.sci
new file mode 100644
index 000000000..08434469b
--- /dev/null
+++ b/3885/CH3/EX3.6/Ex3_6.sci
@@ -0,0 +1,34 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 3.6
+
+clc;
+clear;
+s=poly(0,'s')
+// the input is unit step signal
+h=syslin('c',16/(s^2+4*s+16))//the value of k is 0.2
+zeta=0.5//given damping ratio
+disp(h,'the closed loop transfer function')
+//standard form od second order system is w^2/s^2+2*zeta*w*s+w^2
+//compaing h with the standard form
+w=4//natural frequency of oscillation
+disp(w,'natural frequency of oscillation in rad/sec')
+k=(2*zeta*w-(0.8))/16
+disp(k,'the value of k is')
+mp=exp((-zeta*%pi)/sqrt(1-(zeta)^2))*100//percentage peak overshoot
+disp(mp,'percentage peak overshoot in percentage')
+tp=%pi/(w*sqrt(1-(zeta)^2))
+disp(tp,'peak time in seconds')
+//constructing a right angle triangle with zeta and sqrt(1-zeta^2)
+theta=atan(0.866/0.5)//(1-zeta^2)/zeta
+disp(theta,'the value of theta is')
+tr=(%pi- theta)/(w*sqrt(1-(zeta)^2))
+disp(tr,'the rise time in seconds')
+t=1/(zeta*w)//time constant
+ts1=3*t//settling time for 5% error
+disp(ts1,'settling time for 5% error in seconds')
+ts2=4*t//settling time for 2% error
+disp(ts2,'settling time for 2% error in seconds')
diff --git a/3885/CH3/EX3.6/Ex3_6.xcos b/3885/CH3/EX3.6/Ex3_6.xcos
new file mode 100644
index 000000000..4fdb52d8c
--- /dev/null
+++ b/3885/CH3/EX3.6/Ex3_6.xcos
@@ -0,0 +1,363 @@
+<?xml version="1.0" ?>
+<XcosDiagram debugLevel="0" finalIntegrationTime="30.0" integratorAbsoluteTolerance="1.0E-6" integratorRelativeTolerance="1.0E-6" toleranceOnTime="1.0E-10" maxIntegrationTimeInterval="100001.0" maximumStepSize="0.0" realTimeScaling="0.0" solver="1.0" background="-1" gridEnabled="1" title="Ex3_6"><!--Xcos - 2.0 - scilab-6.0.0 - 20170214 1426-->
+ <Array as="context" scilabClass="String[]"></Array>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="0:1:0"/>
+ <mxCell id="0:2:0" parent="0:1:0"/>
+ <BasicBlock id="-11a2a13d:15fdd4f79ed:-7fed" parent="0:2:0" interfaceFunctionName="CSCOPE" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="cscope" simulationFunctionType="C_OR_FORTRAN" style="CSCOPE">
+ <ScilabString as="exprs" height="10" width="1">
+ <data line="0" column="0" value="1 3 5 7 9 11 13 15"/>
+ <data line="1" column="0" value="-1"/>
+ <data line="2" column="0" value="[]"/>
+ <data line="3" column="0" value="[600;400]"/>
+ <data line="4" column="0" value="0"/>
+ <data line="5" column="0" value="60"/>
+ <data line="6" column="0" value="30"/>
+ <data line="7" column="0" value="20"/>
+ <data line="8" column="0" value="0"/>
+ <data line="9" column="0" value=""/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="4">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="0.0"/>
+ <data line="0" column="2" realPart="60.0"/>
+ <data line="0" column="3" realPart="30.0"/>
+ </ScilabDouble>
+ <ScilabInteger as="integerParameters" height="1" width="15" intPrecision="sci_int32">
+ <data line="0" column="0" value="-1"/>
+ <data line="0" column="1" value="1"/>
+ <data line="0" column="2" value="20"/>
+ <data line="0" column="3" value="1"/>
+ <data line="0" column="4" value="3"/>
+ <data line="0" column="5" value="5"/>
+ <data line="0" column="6" value="7"/>
+ <data line="0" column="7" value="9"/>
+ <data line="0" column="8" value="11"/>
+ <data line="0" column="9" value="13"/>
+ <data line="0" column="10" value="15"/>
+ <data line="0" column="11" value="-1"/>
+ <data line="0" column="12" value="-1"/>
+ <data line="0" column="13" value="600"/>
+ <data line="0" column="14" value="400"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="470.0" y="160.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitInputPort id="-11a2a13d:15fdd4f79ed:-7fec" parent="-11a2a13d:15fdd4f79ed:-7fed" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ControlPort id="-11a2a13d:15fdd4f79ed:-7feb" parent="-11a2a13d:15fdd4f79ed:-7fed" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90"/>
+ <BasicBlock id="-11a2a13d:15fdd4f79ed:-7fea" parent="0:2:0" interfaceFunctionName="STEP_FUNCTION" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="STEP_FUNCTION">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="80.0" y="170.0" width="40.0" height="40.0"/>
+ <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="-11a2a13d:15fdd4f79ee:-7fea"/>
+ <mxCell id="-11a2a13d:15fdd4f79ef:-7fea" parent="-11a2a13d:15fdd4f79ee:-7fea"/>
+ <BasicBlock id="-11a2a13d:15fdd4f79ed:-7fdd" parent="-11a2a13d:15fdd4f79ef:-7fea" interfaceFunctionName="STEP" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="step_func" simulationFunctionType="C_OR_FORTRAN" style="">
+ <ScilabString as="exprs" height="3" width="1">
+ <data line="0" column="0" value="1"/>
+ <data line="1" column="0" value="0"/>
+ <data line="2" column="0" value="50"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="50.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="0.0" y="0.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitOutputPort id="-11a2a13d:15fdd4f79ed:-7fdc" parent="-11a2a13d:15fdd4f79ed:-7fdd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0"/>
+ <ControlPort id="-11a2a13d:15fdd4f79ed:-7fdb" parent="-11a2a13d:15fdd4f79ed:-7fdd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="-11a2a13d:15fdd4f79ed:-7fda" parent="-11a2a13d:15fdd4f79ed:-7fdd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="1.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <ExplicitOutBlock id="-11a2a13d:15fdd4f79ed:-7fd9" parent="-11a2a13d:15fdd4f79ef:-7fea" interfaceFunctionName="OUT_f" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style="">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="1"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="80.0" y="10.0" width="20.0" height="20.0"/>
+ </ExplicitOutBlock>
+ <ExplicitInputPort id="-11a2a13d:15fdd4f79ed:-7fd8" parent="-11a2a13d:15fdd4f79ed:-7fd9" ordering="1" dataType="REAL_MATRIX" dataColumns="-2" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0"/>
+ <ExplicitLink id="-11a2a13d:15fdd4f79ed:-7fd7" parent="-11a2a13d:15fdd4f79ef:-7fea" source="-11a2a13d:15fdd4f79ed:-7fdc" target="-11a2a13d:15fdd4f79ed:-7fd8" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <CommandControlLink id="-11a2a13d:15fdd4f79ed:-7fd6" parent="-11a2a13d:15fdd4f79ef:-7fea" source="-11a2a13d:15fdd4f79ed:-7fda" target="-11a2a13d:15fdd4f79ed:-7fdb" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points">
+ <mxPoint x="20.0" y="-20.0"/>
+ <mxPoint x="-20.0" y="-20.0"/>
+ <mxPoint x="-20.0" y="60.0"/>
+ <mxPoint x="20.0" y="60.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="1.0" y="1.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="-11a2a13d:15fdd4f79ef:-7fea" parent="-11a2a13d:15fdd4f79ee:-7fea"/>
+ </SuperBlockDiagram>
+ </BasicBlock>
+ <ExplicitOutputPort id="-11a2a13d:15fdd4f79ed:-7fe9" parent="-11a2a13d:15fdd4f79ed:-7fea" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BasicBlock id="-11a2a13d:15fdd4f79ed:-7fe8" parent="0:2:0" interfaceFunctionName="CLR" blockType="c" dependsOnU="0" dependsOnT="1" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR">
+ <ScilabString as="exprs" height="2" width="1">
+ <data line="0" column="0" value="16"/>
+ <data line="1" column="0" value="s^2+4*s+16"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="9">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="-16.0"/>
+ <data line="0" column="2" realPart="1.0"/>
+ <data line="0" column="3" realPart="-4.0"/>
+ <data line="0" column="4" realPart="0.0"/>
+ <data line="0" column="5" realPart="1.0"/>
+ <data line="0" column="6" realPart="16.0"/>
+ <data line="0" column="7" realPart="0.0"/>
+ <data line="0" column="8" realPart="0.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="1" width="2">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="0.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="200.0" y="170.0" width="110.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitInputPort id="-11a2a13d:15fdd4f79ed:-7fe7" parent="-11a2a13d:15fdd4f79ed:-7fe8" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ExplicitOutputPort id="-11a2a13d:15fdd4f79ed:-7fe6" parent="-11a2a13d:15fdd4f79ed:-7fe8" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BasicBlock id="-11a2a13d:15fdd4f79ed:-7fe5" parent="0:2:0" interfaceFunctionName="CLOCK_c" blockType="h" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="470.0" y="30.0" width="40.0" height="40.0"/>
+ <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="-11a2a13d:15fdd4f79ee:-7fe5"/>
+ <mxCell id="-11a2a13d:15fdd4f79ef:-7fe5" parent="-11a2a13d:15fdd4f79ee:-7fe5"/>
+ <EventOutBlock id="-11a2a13d:15fdd4f79ed:-7fd5" parent="-11a2a13d:15fdd4f79ef:-7fe5" interfaceFunctionName="CLKOUT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style="">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="1"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="399.0" y="162.0" width="20.0" height="20.0"/>
+ </EventOutBlock>
+ <ControlPort id="-11a2a13d:15fdd4f79ed:-7fd4" parent="-11a2a13d:15fdd4f79ed:-7fd5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <BasicBlock id="-11a2a13d:15fdd4f79ed:-7fd3" parent="-11a2a13d:15fdd4f79ef:-7fe5" interfaceFunctionName="EVTDLY_c" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="evtdly4" simulationFunctionType="C_OR_FORTRAN" style="">
+ <ScilabString as="exprs" height="2" width="1">
+ <data line="0" column="0" value="0.1"/>
+ <data line="1" column="0" value="0.1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="0.1"/>
+ <data line="0" column="1" realPart="0.1"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="320.0" y="232.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ControlPort id="-11a2a13d:15fdd4f79ed:-7fd2" parent="-11a2a13d:15fdd4f79ed:-7fd3" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="-11a2a13d:15fdd4f79ed:-7fd1" parent="-11a2a13d:15fdd4f79ed:-7fd3" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.1" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <SplitBlock id="-11a2a13d:15fdd4f79ed:-7fd0" parent="-11a2a13d:15fdd4f79ef:-7fe5" interfaceFunctionName="CLKSPLIT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="split" simulationFunctionType="DEFAULT" style="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="380.71066" y="172.0" width="7.0" height="7.0"/>
+ </SplitBlock>
+ <ControlPort id="-11a2a13d:15fdd4f79ed:-7fcf" parent="-11a2a13d:15fdd4f79ed:-7fd0" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="-11a2a13d:15fdd4f79ed:-7fce" parent="-11a2a13d:15fdd4f79ed:-7fd0" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <CommandPort id="-11a2a13d:15fdd4f79ed:-7fcd" parent="-11a2a13d:15fdd4f79ed:-7fd0" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <CommandControlLink id="-11a2a13d:15fdd4f79ed:-7fcc" parent="-11a2a13d:15fdd4f79ef:-7fe5" source="-11a2a13d:15fdd4f79ed:-7fd1" target="-11a2a13d:15fdd4f79ed:-7fcf" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="340.0" y="226.29"/>
+ <Array as="points">
+ <mxPoint x="340.0" y="172.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="380.71" y="172.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <CommandControlLink id="-11a2a13d:15fdd4f79ed:-7fcb" parent="-11a2a13d:15fdd4f79ef:-7fe5" source="-11a2a13d:15fdd4f79ed:-7fce" target="-11a2a13d:15fdd4f79ed:-7fd4" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="380.71" y="172.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="399.0" y="172.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <CommandControlLink id="-11a2a13d:15fdd4f79ed:-7fca" parent="-11a2a13d:15fdd4f79ef:-7fe5" source="-11a2a13d:15fdd4f79ed:-7fcd" target="-11a2a13d:15fdd4f79ed:-7fd2" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="380.71" y="172.0"/>
+ <Array as="points">
+ <mxPoint x="380.71" y="302.0"/>
+ <mxPoint x="340.0" y="302.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="340.0" y="277.71"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="-11a2a13d:15fdd4f79ef:-7fe5" parent="-11a2a13d:15fdd4f79ee:-7fe5"/>
+ </SuperBlockDiagram>
+ </BasicBlock>
+ <CommandPort id="-11a2a13d:15fdd4f79ed:-7fe4" parent="-11a2a13d:15fdd4f79ed:-7fe5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0;rotation=90"/>
+ <CommandControlLink id="-11a2a13d:15fdd4f79ed:-7fe3" parent="0:2:0" source="-11a2a13d:15fdd4f79ed:-7fe4" target="-11a2a13d:15fdd4f79ed:-7feb" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <ExplicitLink id="-11a2a13d:15fdd4f79ed:-7fe1" parent="0:2:0" source="-11a2a13d:15fdd4f79ed:-7fe9" target="-11a2a13d:15fdd4f79ed:-7fe7" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <ExplicitLink id="-11a2a13d:15fdd4f79ed:-7fde" parent="0:2:0" source="-11a2a13d:15fdd4f79ed:-7fe6" target="-11a2a13d:15fdd4f79ed:-7fec" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points">
+ <mxPoint x="470.0" y="190.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="0:2:0" parent="0:1:0"/>
+</XcosDiagram> \ No newline at end of file
diff --git a/3885/CH3/EX3.7/Ex3_7.sci b/3885/CH3/EX3.7/Ex3_7.sci
new file mode 100644
index 000000000..7eb252a33
--- /dev/null
+++ b/3885/CH3/EX3.7/Ex3_7.sci
@@ -0,0 +1,28 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 3.7
+
+clc;
+clear;
+s=%s
+p=poly([1 0.4 0 ],'s','coeff')
+q=poly([0 0.6 1],'s','coeff')
+g=p./q
+disp(g,'the given transfer function is')
+c=g/(1+g)
+disp(c,'the closed loop transfer function is')
+u=c/s
+disp(u,'the in put is unit step signal')
+//standard form od second order system is w^2/s^2+2*zeta*w*s+w^2
+//compaing h with the standard form
+w=1//natural frequency of oscillation
+disp(w,'natural frequency of oscillation in rad/sec')
+zeta=1/(2*w)
+disp(zeta,'the damping ratio is')
+mp=exp((-zeta*%pi)/sqrt(1-(zeta)^2))*100//percentage peak overshoot
+disp(mp,'percentage peak overshoot in percentage')
+tp=%pi/(w*sqrt(1-(zeta)^2))
+disp(tp,'peak time in seconds')
diff --git a/3885/CH3/EX3.7/Ex3_7.xcos b/3885/CH3/EX3.7/Ex3_7.xcos
new file mode 100644
index 000000000..c7d460bad
--- /dev/null
+++ b/3885/CH3/EX3.7/Ex3_7.xcos
@@ -0,0 +1,361 @@
+<?xml version="1.0" ?>
+<XcosDiagram debugLevel="0" finalIntegrationTime="30.0" integratorAbsoluteTolerance="1.0E-6" integratorRelativeTolerance="1.0E-6" toleranceOnTime="1.0E-10" maxIntegrationTimeInterval="100001.0" maximumStepSize="0.0" realTimeScaling="0.0" solver="1.0" background="-1" gridEnabled="1" title="Ex3_7"><!--Xcos - 2.0 - scilab-6.0.0 - 20170214 1426-->
+ <Array as="context" scilabClass="String[]"></Array>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="0:1:0"/>
+ <mxCell id="0:2:0" parent="0:1:0"/>
+ <BasicBlock id="-52c5eb75:15fe2536431:-7ff5" parent="0:2:0" interfaceFunctionName="STEP_FUNCTION" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="STEP_FUNCTION">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="95.0" y="165.0" width="40.0" height="40.0"/>
+ <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="-52c5eb75:15fe2536432:-7ff5"/>
+ <mxCell id="-52c5eb75:15fe2536433:-7ff5" parent="-52c5eb75:15fe2536432:-7ff5"/>
+ <BasicBlock id="-52c5eb75:15fe2536431:-7fdb" parent="-52c5eb75:15fe2536433:-7ff5" interfaceFunctionName="STEP" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="step_func" simulationFunctionType="C_OR_FORTRAN" style="">
+ <ScilabString as="exprs" height="3" width="1">
+ <data line="0" column="0" value="1"/>
+ <data line="1" column="0" value="0"/>
+ <data line="2" column="0" value="50"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="50.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="0.0" y="0.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitOutputPort id="-52c5eb75:15fe2536431:-7fda" parent="-52c5eb75:15fe2536431:-7fdb" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0"/>
+ <ControlPort id="-52c5eb75:15fe2536431:-7fd9" parent="-52c5eb75:15fe2536431:-7fdb" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="-52c5eb75:15fe2536431:-7fd8" parent="-52c5eb75:15fe2536431:-7fdb" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="1.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <ExplicitOutBlock id="-52c5eb75:15fe2536431:-7fd7" parent="-52c5eb75:15fe2536433:-7ff5" interfaceFunctionName="OUT_f" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style="">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="1"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="80.0" y="10.0" width="20.0" height="20.0"/>
+ </ExplicitOutBlock>
+ <ExplicitInputPort id="-52c5eb75:15fe2536431:-7fd6" parent="-52c5eb75:15fe2536431:-7fd7" ordering="1" dataType="REAL_MATRIX" dataColumns="-2" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0"/>
+ <ExplicitLink id="-52c5eb75:15fe2536431:-7fd5" parent="-52c5eb75:15fe2536433:-7ff5" source="-52c5eb75:15fe2536431:-7fda" target="-52c5eb75:15fe2536431:-7fd6" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <CommandControlLink id="-52c5eb75:15fe2536431:-7fd4" parent="-52c5eb75:15fe2536433:-7ff5" source="-52c5eb75:15fe2536431:-7fd8" target="-52c5eb75:15fe2536431:-7fd9" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points">
+ <mxPoint x="20.0" y="-20.0"/>
+ <mxPoint x="-20.0" y="-20.0"/>
+ <mxPoint x="-20.0" y="60.0"/>
+ <mxPoint x="20.0" y="60.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="1.0" y="1.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="-52c5eb75:15fe2536433:-7ff5" parent="-52c5eb75:15fe2536432:-7ff5"/>
+ </SuperBlockDiagram>
+ </BasicBlock>
+ <ExplicitOutputPort id="-52c5eb75:15fe2536431:-7ff4" parent="-52c5eb75:15fe2536431:-7ff5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BasicBlock id="-52c5eb75:15fe2536431:-7fed" parent="0:2:0" interfaceFunctionName="CLR" blockType="c" dependsOnU="0" dependsOnT="1" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR">
+ <ScilabString as="exprs" height="2" width="1">
+ <data line="0" column="0" value="0.4*s+1"/>
+ <data line="1" column="0" value="s^2+s+1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="9">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="-1.0"/>
+ <data line="0" column="2" realPart="1.0"/>
+ <data line="0" column="3" realPart="-1.0"/>
+ <data line="0" column="4" realPart="0.0"/>
+ <data line="0" column="5" realPart="1.0"/>
+ <data line="0" column="6" realPart="1.0"/>
+ <data line="0" column="7" realPart="0.4"/>
+ <data line="0" column="8" realPart="0.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="1" width="2">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="0.0"/>
+ </ScilabDouble>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="220.0" y="170.0" width="110.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitInputPort id="-52c5eb75:15fe2536431:-7fec" parent="-52c5eb75:15fe2536431:-7fed" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ExplicitOutputPort id="-52c5eb75:15fe2536431:-7feb" parent="-52c5eb75:15fe2536431:-7fed" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <BasicBlock id="-52c5eb75:15fe2536431:-7fea" parent="0:2:0" interfaceFunctionName="CSCOPE" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="cscope" simulationFunctionType="C_OR_FORTRAN" style="CSCOPE">
+ <ScilabString as="exprs" height="10" width="1">
+ <data line="0" column="0" value="1 3 5 7 9 11 13 15"/>
+ <data line="1" column="0" value="-1"/>
+ <data line="2" column="0" value="[]"/>
+ <data line="3" column="0" value="[600;400]"/>
+ <data line="4" column="0" value="0"/>
+ <data line="5" column="0" value="60"/>
+ <data line="6" column="0" value="30"/>
+ <data line="7" column="0" value="20"/>
+ <data line="8" column="0" value="0"/>
+ <data line="9" column="0" value=""/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="4">
+ <data line="0" column="0" realPart="0.0"/>
+ <data line="0" column="1" realPart="0.0"/>
+ <data line="0" column="2" realPart="60.0"/>
+ <data line="0" column="3" realPart="30.0"/>
+ </ScilabDouble>
+ <ScilabInteger as="integerParameters" height="1" width="15" intPrecision="sci_int32">
+ <data line="0" column="0" value="-1"/>
+ <data line="0" column="1" value="1"/>
+ <data line="0" column="2" value="20"/>
+ <data line="0" column="3" value="1"/>
+ <data line="0" column="4" value="3"/>
+ <data line="0" column="5" value="5"/>
+ <data line="0" column="6" value="7"/>
+ <data line="0" column="7" value="9"/>
+ <data line="0" column="8" value="11"/>
+ <data line="0" column="9" value="13"/>
+ <data line="0" column="10" value="15"/>
+ <data line="0" column="11" value="-1"/>
+ <data line="0" column="12" value="-1"/>
+ <data line="0" column="13" value="600"/>
+ <data line="0" column="14" value="400"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="395.0" y="165.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ExplicitInputPort id="-52c5eb75:15fe2536431:-7fe9" parent="-52c5eb75:15fe2536431:-7fea" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/>
+ <ControlPort id="-52c5eb75:15fe2536431:-7fe8" parent="-52c5eb75:15fe2536431:-7fea" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90"/>
+ <BasicBlock id="-52c5eb75:15fe2536431:-7fe7" parent="0:2:0" interfaceFunctionName="CLOCK_c" blockType="h" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="395.0" y="55.0" width="40.0" height="40.0"/>
+ <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGraphModel as="model">
+ <root>
+ <mxCell id="-52c5eb75:15fe2536432:-7fe7"/>
+ <mxCell id="-52c5eb75:15fe2536433:-7fe7" parent="-52c5eb75:15fe2536432:-7fe7"/>
+ <EventOutBlock id="-52c5eb75:15fe2536431:-7fd3" parent="-52c5eb75:15fe2536433:-7fe7" interfaceFunctionName="CLKOUT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style="">
+ <ScilabString as="exprs" height="1" width="1">
+ <data line="0" column="0" value="1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="1"/>
+ </ScilabInteger>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="399.0" y="162.0" width="20.0" height="20.0"/>
+ </EventOutBlock>
+ <ControlPort id="-52c5eb75:15fe2536431:-7fd2" parent="-52c5eb75:15fe2536431:-7fd3" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <BasicBlock id="-52c5eb75:15fe2536431:-7fd1" parent="-52c5eb75:15fe2536433:-7fe7" interfaceFunctionName="EVTDLY_c" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="evtdly4" simulationFunctionType="C_OR_FORTRAN" style="">
+ <ScilabString as="exprs" height="2" width="1">
+ <data line="0" column="0" value="0.1"/>
+ <data line="1" column="0" value="0.1"/>
+ </ScilabString>
+ <ScilabDouble as="realParameters" height="1" width="2">
+ <data line="0" column="0" realPart="0.1"/>
+ <data line="0" column="1" realPart="0.1"/>
+ </ScilabDouble>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="320.0" y="232.0" width="40.0" height="40.0"/>
+ </BasicBlock>
+ <ControlPort id="-52c5eb75:15fe2536431:-7fd0" parent="-52c5eb75:15fe2536431:-7fd1" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="-52c5eb75:15fe2536431:-7fcf" parent="-52c5eb75:15fe2536431:-7fd1" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.1" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <SplitBlock id="-52c5eb75:15fe2536431:-7fce" parent="-52c5eb75:15fe2536433:-7fe7" interfaceFunctionName="CLKSPLIT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="split" simulationFunctionType="DEFAULT" style="">
+ <ScilabDouble as="exprs" height="0" width="0"/>
+ <ScilabDouble as="realParameters" height="0" width="0"/>
+ <ScilabDouble as="integerParameters" height="0" width="0"/>
+ <Array as="objectsParameters" scilabClass="ScilabList"/>
+ <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32">
+ <data line="0" column="0" value="0"/>
+ </ScilabInteger>
+ <ScilabDouble as="state" height="0" width="0"/>
+ <ScilabDouble as="dState" height="0" width="0"/>
+ <Array as="oDState" scilabClass="ScilabList"/>
+ <Array as="equations" scilabClass="ScilabList"/>
+ <mxGeometry as="geometry" x="380.71066" y="172.0" width="7.0" height="7.0"/>
+ </SplitBlock>
+ <ControlPort id="-52c5eb75:15fe2536431:-7fcd" parent="-52c5eb75:15fe2536431:-7fce" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/>
+ <CommandPort id="-52c5eb75:15fe2536431:-7fcc" parent="-52c5eb75:15fe2536431:-7fce" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <CommandPort id="-52c5eb75:15fe2536431:-7fcb" parent="-52c5eb75:15fe2536431:-7fce" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/>
+ <CommandControlLink id="-52c5eb75:15fe2536431:-7fca" parent="-52c5eb75:15fe2536433:-7fe7" source="-52c5eb75:15fe2536431:-7fcf" target="-52c5eb75:15fe2536431:-7fcd" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="340.0" y="226.29"/>
+ <Array as="points">
+ <mxPoint x="340.0" y="172.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="380.71" y="172.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <CommandControlLink id="-52c5eb75:15fe2536431:-7fc9" parent="-52c5eb75:15fe2536433:-7fe7" source="-52c5eb75:15fe2536431:-7fcc" target="-52c5eb75:15fe2536431:-7fd2" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="380.71" y="172.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="399.0" y="172.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <CommandControlLink id="-52c5eb75:15fe2536431:-7fc8" parent="-52c5eb75:15fe2536433:-7fe7" source="-52c5eb75:15fe2536431:-7fcb" target="-52c5eb75:15fe2536431:-7fd0" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="380.71" y="172.0"/>
+ <Array as="points">
+ <mxPoint x="380.71" y="302.0"/>
+ <mxPoint x="340.0" y="302.0"/>
+ </Array>
+ <mxPoint as="targetPoint" x="340.0" y="277.71"/>
+ </mxGeometry>
+ </CommandControlLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="-52c5eb75:15fe2536433:-7fe7" parent="-52c5eb75:15fe2536432:-7fe7"/>
+ </SuperBlockDiagram>
+ </BasicBlock>
+ <CommandPort id="-52c5eb75:15fe2536431:-7fe6" parent="-52c5eb75:15fe2536431:-7fe7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0;rotation=90"/>
+ <CommandControlLink id="-52c5eb75:15fe2536431:-7fe5" parent="0:2:0" source="-52c5eb75:15fe2536431:-7fe6" target="-52c5eb75:15fe2536431:-7fe8" style="CommandControlLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </CommandControlLink>
+ <ExplicitLink id="-52c5eb75:15fe2536431:-7fe4" parent="0:2:0" source="-52c5eb75:15fe2536431:-7feb" target="-52c5eb75:15fe2536431:-7fe9" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ <ExplicitLink id="-52c5eb75:15fe2536431:-7fe3" parent="0:2:0" source="-52c5eb75:15fe2536431:-7ff4" target="-52c5eb75:15fe2536431:-7fec" style="ExplicitLink" value="">
+ <mxGeometry as="geometry">
+ <mxPoint as="sourcePoint" x="0.0" y="0.0"/>
+ <Array as="points"></Array>
+ <mxPoint as="targetPoint" x="0.0" y="0.0"/>
+ </mxGeometry>
+ </ExplicitLink>
+ </root>
+ </mxGraphModel>
+ <mxCell as="defaultParent" id="0:2:0" parent="0:1:0"/>
+</XcosDiagram> \ No newline at end of file
diff --git a/3885/CH3/EX3.9/Ex3_9.sci b/3885/CH3/EX3.9/Ex3_9.sci
new file mode 100644
index 000000000..6b421b145
--- /dev/null
+++ b/3885/CH3/EX3.9/Ex3_9.sci
@@ -0,0 +1,35 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 3.9
+
+clc;
+clear;
+s=poly(0,'s')
+// the input is 12 unit step signal
+h=syslin('c',10/(s^2+2*s+10))
+disp(h,'the closed loop transfer function')
+//standard form od second order system is w^2/s^2+2*zeta*w*s+w^2
+//compaing h with the standard form
+w=3.162//natural frequency of oscillation
+disp(w,'natural frequency of oscillation in rad/sec')
+zeta=2/(2*w)
+disp(zeta,' damping ratio is')
+mp=exp((-zeta*%pi)/sqrt(1-(zeta)^2))*100//percentage peak overshoot
+disp(mp,'percentage peak overshoot in percentage')
+po=(mp/100)*12//peak over shoot for 12 units
+disp(po,'peak over shoot for 12 units')
+tp=%pi/(w*sqrt(1-(zeta)^2))
+disp(tp,'peak time in seconds')
+//constructing a right angle triangle with zeta and sqrt(1-zeta^2)
+theta=atan(0.866/0.5)//(1-zeta^2)/zeta
+disp(theta,'the value of theta is')
+tr=(%pi- theta)/(w*sqrt(1-(zeta)^2))
+disp(tr,'the rise time in seconds')
+t=1/(zeta*w)//time constant
+ts1=3*t//settling time for 5% error
+disp(ts1,'settling time for 5% error in seconds')
+ts2=4*t//settling time for 2% error
+disp(ts2,'settling time for 2% error in seconds')