home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
MATH
/
VISSIM.ZIP
/
ROOTS.VSM
< prev
next >
Wrap
Text File
|
1994-02-28
|
2KB
|
79 lines
; VisSim Block Diagram Format (VBDF)
; Copyright (C) 1989-1994 Visual Solutions
PV=1.500
PS=0
PE=1
PP=0.05
PI=170
PX=0.05
PN=1e-006
PL=5
PT=1e-005
Pn=-9,6,16,"Times New Roman"
Pc=25
Po=0.01,50,664
PC=2,100,0.0001,1,1e-007
PD=800x600
Pf=0x1
Pr="stub"
Ps=800,0,0,552,0,0
Pd=17
PM=1,1,1,1
N.1="variable"*25x22
n="y"
N.2="const"(0)*3x22
N.3="constraint"(0.001,0)*111x37
N.4="unknown"(0)*9x22
N.5="variable"*28x35
n="y"
N.6="gain"(4)*45x35
N.7="const"(-5)*47x37
N.8="summingJunction"*57x33#3,1
N.9="display"(-5.0000000012525)*35x22
N.10="variable"*28x50
n="y"
N.11="const"(0)*31x56
N.12=">"*38x54
N.13="*"*54x53
N.14="gain"(3)*64x54
N.15="summingJunction"*89x36
N.16="display"(0)*88x54
N.17="*"*76x35
N.18="wireLabel"*47x29
n="Equation to be solved"
N.19="wireLabel"*51x49
n="Penalty, y must be < 0"
N.20="display"(5.6474239825396e-017)*104x31
N.21="comment"*1x1*89x8
C="This block diagram uses constraint and unknown blocks to find one of the roots (-5) of the quadratic equation y^2 + 4y - 5 = 0. A penalty function is added to the constraint function to force the discovered root to be less than 0.
"
N.22="pow"(2)*74x54
N.23="pow"(2)*45x33
N.24="wireLabel"*95x40
n=" Total error
(penalty function + equation err"
N.25="wireLabel"*36x19
n="Root"
I.1.i1=4.o1
I.3.i1=15.o1
I.4.i1=2.o1
I.6.i1=5.o1
I.8.i1=23.o1
I.8.i2=6.o1
I.8.i3=7.o1
I.9.i1=1.o1
I.12.i1=10.o1
I.12.i2=11.o1
I.13.i1=10.o1
I.13.i2=12.o1
I.14.i1=13.o1
I.15.i1=17.o1
I.15.i2=22.o1
I.16.i1=22.o1
I.17.i1=8.o1
I.17.i2=8.o1
I.20.i1=15.o1
I.22.i1=14.o1
I.23.i1=5.o1