(************** Content-type: application/mathematica ************** CreatedBy='Mathematica 5.2' Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. *******************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 35875, 972]*) (*NotebookOutlinePosition[ 36540, 995]*) (* CellTagsIndexPosition[ 36496, 991]*) (*WindowFrame->Normal*) Notebook[{ Cell[BoxData[{ \(\(newModel[ id \[Rule] \ "\", \ \[IndentingNewLine]name \ \[Rule] \ "\", \ \ \[IndentingNewLine]level \[Rule] \ 2, \ version \[Rule] \ 2];\)\), "\[IndentingNewLine]", \(\(addCompartment[cell, \ constant \[Rule] \ True];\)\), "\[IndentingNewLine]", \(\(addParameter["\", \ value \[Rule] \ 5, \ constant \[Rule] \ False];\)\ \), "\[IndentingNewLine]", \(\(addParameter["\", \ value \[Rule] \ 20, \ constant \[Rule] \ False];\)\), "\[IndentingNewLine]", \(\(addInitialAssignment[symbol \[Rule] \ "\", \ math \[Rule] \ 5*y + 17];\)\), "\[IndentingNewLine]", \(\(addRule[type \[Rule] \ "\", \ variable \[Rule] \ "\", \ math \[Rule] \(-x\)];\)\)}], "Input"], Cell[BoxData[ \(\(m = loadSimulator[context \[Rule] \ None];\)\)], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(n = SBMLNDSolve[m, 2]\)], "Input"], Cell[BoxData[ InterpretationBox[ RowBox[{ TagBox[ StyleBox["\<\"Warning: \"\>", FontWeight->"Bold", FontColor->RGBColor[1, 0, 0]], ( StyleForm[ #, FontColor -> RGBColor[ 1, 0, 0], FontWeight -> "Bold"]&)], "\[InvisibleSpace]", TagBox[ StyleBox["\<\"The variable \"\>", FontWeight->"Bold", FontColor->GrayLevel[0]], (StyleForm[ #, FontColor -> GrayLevel[ 0], FontWeight -> "Bold"]&)], "\[InvisibleSpace]", TagBox[ StyleBox["\<\"y[t]\"\>", FontWeight->"Bold", FontColor->RGBColor[0, 0, 1]], ( StyleForm[ #, FontColor -> RGBColor[ 0, 0, 1], FontWeight -> "Bold"]&)], "\[InvisibleSpace]", TagBox[ StyleBox["\<\" does not have a differential equation. NDSolve will \ assume that (d/dt)(\"\>", FontWeight->"Bold", FontColor->GrayLevel[0]], (StyleForm[ #, FontColor -> GrayLevel[ 0], FontWeight -> "Bold"]&)], "\[InvisibleSpace]", TagBox[ StyleBox["\<\"y[t]\"\>", FontWeight->"Bold", FontColor->GrayLevel[0]], (StyleForm[ #, FontColor -> GrayLevel[ 0], FontWeight -> "Bold"]&)], "\[InvisibleSpace]", TagBox[ StyleBox["\<\")=0.\"\>", FontWeight->"Bold", FontColor->GrayLevel[0]], ( StyleForm[ #, FontColor -> GrayLevel[ 0], FontWeight -> "Bold"]&)]}], SequenceForm[ StyleForm[ "Warning: ", FontColor -> RGBColor[ 1, 0, 0], FontWeight -> "Bold"], StyleForm[ "The variable ", FontColor -> GrayLevel[ 0], FontWeight -> "Bold"], StyleForm[ "y[t]", FontColor -> RGBColor[ 0, 0, 1], FontWeight -> "Bold"], StyleForm[ " does not have a differential equation. NDSolve will assume that \ (d/dt)(", FontColor -> GrayLevel[ 0], FontWeight -> "Bold"], StyleForm[ "y[t]", FontColor -> GrayLevel[ 0], FontWeight -> "Bold"], StyleForm[ ")=0.", FontColor -> GrayLevel[ 0], FontWeight -> "Bold"]], Editable->False]], "Print"], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{\(x[t]\), "\[Rule]", RowBox[{ TagBox[\(InterpolatingFunction[{{0.`, 2.`}}, "<>"]\), False, Editable->False], "[", "t", "]"}]}], ",", RowBox[{\(y[t]\), "\[Rule]", RowBox[{ TagBox[\(InterpolatingFunction[{{0.`, 2.`}}, "<>"]\), False, Editable->False], "[", "t", "]"}]}]}], "}"}], ",", RowBox[{\(cell[t]\), "\[Rule]", RowBox[{ TagBox[\(InterpolatingFunction[{{0, 2}}, "<>"]\), False, Editable->False], "[", "t", "]"}]}]}], "}"}]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(SBMLPlot[n, \ {x, y}]\)], "Input"], Cell[GraphicsData["PostScript", "\<\ %! %%Creator: Mathematica %%AspectRatio: .48473 MathPictureStart /Mabs { Mgmatrix idtransform Mtmatrix dtransform } bind def /Mabsadd { Mabs 3 -1 roll add 3 1 roll add exch } bind def %% Graphics %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10 scalefont setfont % Scaling calculations 0.397292 0.373483 0.242366 0.373483 [ [ 0 0 0 0 ] [ 1 .48473 0 0 ] ] MathScale % Start of Graphics 1 setlinecap 1 setlinejoin newpath % Start of sub-graphic p 0.0238095 0.0115413 0.770775 0.473191 MathSubStart %% Graphics %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10 scalefont setfont % Scaling calculations 0.0238095 0.47619 0.0147151 0.0050308 [ [.2619 .00222 -9 -9 ] [.2619 .00222 9 0 ] [.5 .00222 -3 -9 ] [.5 .00222 3 0 ] [.7381 .00222 -9 -9 ] [.7381 .00222 9 0 ] [.97619 .00222 -3 -9 ] [.97619 .00222 3 0 ] [.01131 .11533 -12 -4.5 ] [.01131 .11533 0 4.5 ] [.01131 .21595 -12 -4.5 ] [.01131 .21595 0 4.5 ] [.01131 .31656 -12 -4.5 ] [.01131 .31656 0 4.5 ] [.01131 .41718 -12 -4.5 ] [.01131 .41718 0 4.5 ] [.01131 .5178 -18 -4.5 ] [.01131 .5178 0 4.5 ] [ 0 0 0 0 ] [ 1 .61803 0 0 ] ] MathScale % Start of Graphics 1 setlinecap 1 setlinejoin newpath 0 g .25 Mabswid [ ] 0 setdash .2619 .01472 m .2619 .02097 L s [(0.5)] .2619 .00222 0 1 Mshowa .5 .01472 m .5 .02097 L s [(1)] .5 .00222 0 1 Mshowa .7381 .01472 m .7381 .02097 L s [(1.5)] .7381 .00222 0 1 Mshowa .97619 .01472 m .97619 .02097 L s [(2)] .97619 .00222 0 1 Mshowa .125 Mabswid .07143 .01472 m .07143 .01847 L s .11905 .01472 m .11905 .01847 L s .16667 .01472 m .16667 .01847 L s .21429 .01472 m .21429 .01847 L s .30952 .01472 m .30952 .01847 L s .35714 .01472 m .35714 .01847 L s .40476 .01472 m .40476 .01847 L s .45238 .01472 m .45238 .01847 L s .54762 .01472 m .54762 .01847 L s .59524 .01472 m .59524 .01847 L s .64286 .01472 m .64286 .01847 L s .69048 .01472 m .69048 .01847 L s .78571 .01472 m .78571 .01847 L s .83333 .01472 m .83333 .01847 L s .88095 .01472 m .88095 .01847 L s .92857 .01472 m .92857 .01847 L s .25 Mabswid 0 .01472 m 1 .01472 L s .02381 .11533 m .03006 .11533 L s [(20)] .01131 .11533 1 0 Mshowa .02381 .21595 m .03006 .21595 L s [(40)] .01131 .21595 1 0 Mshowa .02381 .31656 m .03006 .31656 L s [(60)] .01131 .31656 1 0 Mshowa .02381 .41718 m .03006 .41718 L s [(80)] .01131 .41718 1 0 Mshowa .02381 .5178 m .03006 .5178 L s [(100)] .01131 .5178 1 0 Mshowa .125 Mabswid .02381 .03987 m .02756 .03987 L s .02381 .06502 m .02756 .06502 L s .02381 .09018 m .02756 .09018 L s .02381 .14049 m .02756 .14049 L s .02381 .16564 m .02756 .16564 L s .02381 .19079 m .02756 .19079 L s .02381 .2411 m .02756 .2411 L s .02381 .26626 m .02756 .26626 L s .02381 .29141 m .02756 .29141 L s .02381 .34172 m .02756 .34172 L s .02381 .36687 m .02756 .36687 L s .02381 .39203 m .02756 .39203 L s .02381 .44233 m .02756 .44233 L s .02381 .46749 m .02756 .46749 L s .02381 .49264 m .02756 .49264 L s .02381 .54295 m .02756 .54295 L s .02381 .5681 m .02756 .5681 L s .02381 .59326 m .02756 .59326 L s .25 Mabswid .02381 0 m .02381 .61803 L s 0 0 m 1 0 L 1 .61803 L 0 .61803 L closepath clip newpath 0 1 1 r .5 Mabswid .02381 .60332 m .06244 .55745 L .10458 .51149 L .14415 .47188 L .18221 .43676 L .22272 .40234 L .26171 .37187 L .30316 .3421 L .34309 .31576 L .3815 .29243 L .42237 .26959 L .46172 .24938 L .49955 .23145 L .53984 .21387 L .57861 .1983 L .61984 .18307 L .65954 .1696 L .69774 .15767 L .73838 .14597 L .77751 .13562 L .81909 .12551 L .85916 .11657 L .89771 .10865 L .93871 .1009 L .97619 .09437 L s 1 0 0 r .02381 .11533 m .06244 .11533 L .10458 .11533 L .14415 .11533 L .18221 .11533 L .22272 .11533 L .26171 .11533 L .30316 .11533 L .34309 .11533 L .3815 .11533 L .42237 .11533 L .46172 .11533 L .49955 .11533 L .53984 .11533 L .57861 .11533 L .61984 .11533 L .65954 .11533 L .69774 .11533 L .73838 .11533 L .77751 .11533 L .81909 .11533 L .85916 .11533 L .89771 .11533 L .93871 .11533 L .97619 .11533 L s MathSubEnd P % End of sub-graphic 0 g .78945 .03695 m .78945 .41043 L .97619 .41043 L .97619 .03695 L F 1 g .77077 .05562 m .77077 .42911 L .95752 .42911 L .95752 .05562 L F 0 g .001 w [ ] 0 setdash .77077 .05562 m .95752 .05562 L .95752 .42911 L .77077 .42911 L .77077 .05562 L s % Start of sub-graphic p 0.770775 0.0556249 0.957516 0.429108 MathSubStart %% Graphics %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10 scalefont setfont % Scaling calculations 0.0297619 0.297619 0.0793651 0.793651 [ [ 0 0 0 0 ] [ 1 2 0 0 ] ] MathScale % Start of Graphics 1 setlinecap 1 setlinejoin newpath 0 0 m 1 0 L 1 2 L 0 2 L closepath clip newpath % Start of sub-graphic p 0.0535714 0.142857 0.35119 0.936508 MathSubStart %% Graphics %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10 scalefont setfont % Scaling calculations 0.0238095 0.952381 0.309017 0.294302 [ [ 0 0 0 0 ] [ 1 .61803 0 0 ] ] MathScale % Start of Graphics 1 setlinecap 1 setlinejoin newpath 0 0 m 1 0 L 1 .61803 L 0 .61803 L closepath clip newpath 1 0 0 r .5 Mabswid [ ] 0 setdash .02381 .30902 m .97619 .30902 L s MathSubEnd P % End of sub-graphic 0 g gsave .38988 .53968 -61 -10 Mabsadd m 1 1 Mabs scale currentpoint translate 0 20 translate 1 -1 scale /g { setgray} bind def /k { setcmykcolor} bind def /p { gsave} bind def /r { setrgbcolor} bind def /w { setlinewidth} bind def /C { curveto} bind def /F { fill} bind def /L { lineto} bind def /rL { rlineto} bind def /P { grestore} bind def /s { stroke} bind def /S { show} bind def /N {currentpoint 3 -1 roll show moveto} bind def /Msf { findfont exch scalefont [1 0 0 -1 0 0 ] makefont setfont} bind def /m { moveto} bind def /Mr { rmoveto} bind def /Mx {currentpoint exch pop moveto} bind def /My {currentpoint pop exch moveto} bind def /X {0 rmoveto} bind def /Y {0 exch rmoveto} bind def 63.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor 0.000 0.000 rmoveto 63.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor (y) show 69.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor 0.000 0.000 rmoveto 1.000 setlinewidth grestore % Start of sub-graphic p 0.0535714 1.06349 0.35119 1.85714 MathSubStart %% Graphics %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10 scalefont setfont % Scaling calculations 0.0238095 0.952381 0.309017 0.294302 [ [ 0 0 0 0 ] [ 1 .61803 0 0 ] ] MathScale % Start of Graphics 1 setlinecap 1 setlinejoin newpath 0 0 m 1 0 L 1 .61803 L 0 .61803 L closepath clip newpath 0 1 1 r .5 Mabswid [ ] 0 setdash .02381 .30902 m .97619 .30902 L s MathSubEnd P % End of sub-graphic 0 g gsave .38988 1.46032 -61 -10 Mabsadd m 1 1 Mabs scale currentpoint translate 0 20 translate 1 -1 scale /g { setgray} bind def /k { setcmykcolor} bind def /p { gsave} bind def /r { setrgbcolor} bind def /w { setlinewidth} bind def /C { curveto} bind def /F { fill} bind def /L { lineto} bind def /rL { rlineto} bind def /P { grestore} bind def /s { stroke} bind def /S { show} bind def /N {currentpoint 3 -1 roll show moveto} bind def /Msf { findfont exch scalefont [1 0 0 -1 0 0 ] makefont setfont} bind def /m { moveto} bind def /Mr { rmoveto} bind def /Mx {currentpoint exch pop moveto} bind def /My {currentpoint pop exch moveto} bind def /X {0 rmoveto} bind def /Y {0 exch rmoveto} bind def 63.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor 0.000 0.000 rmoveto 63.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor (x) show 69.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor 0.000 0.000 rmoveto 1.000 setlinewidth grestore MathSubEnd P % End of sub-graphic 0 0 m 1 0 L 1 .48473 L 0 .48473 L closepath clip newpath % End of Graphics MathPictureEnd \ \>"], "Graphics", ImageSize->{288, 139.562}, ImageMargins->{{43, 0}, {0, 0}}, ImageRegion->{{0, 1}, {0, 1}}, ImageCache->GraphicsData["Bitmap", "\<\ CF5dJ6E]HGAYHf4PAg9QL6QYHgol00009ooooo`006oooool00ol0003oooooooooo`0/oooo o`03o`000?oooooooooo02gooooo00?o0000ooooooooool0;?ooool00ol0003oooooooooo`0/oooo o`05o`000?ooooooooooooooool00000=Oooool5o`0000Wooooo000Kooooo`03o`000?oooooooooo 0;kooooo00?o0000ooooooooool0ooooo`03o`000?oooooooooo03?ooooo1Ol00009ooooo`006oooool00ol0003oooooooooo`0[ ooooo`;o0?ooTOooool00ol0003oooooooooo`0cooooo`Go00002Oooool001_ooooo00?o0000oooo ooooool0:_ooool00ol0ooooooooooooo`2Aooooo`03o`000?oooooooooo03?ooooo1Ol00009oooo o`006oooool00ol0003oooooooooo`0Yooooo`03o`3ooooooooooooo09;ooooo00?o0000oooooooo ool0ooooo`?o00001?ooool2o`0000Co oooo00?o0000ooooooooool07_ooool00ol0ooooooooooooo`2Mooooo`03o`000?oooooooooo03?o oooo1Ol00009ooooo`006oooool00ol0003oooooooooo`0Looooo`;o0?ooX?ooool00ol0003ooooo ooooo`0cooooo`Go00002Oooool001_ooooo0_l0000Looooo`03o`3ooooooooooooo0:3ooooo00?o 0000ooooooooool0ooooo`03o`3ooooooooooooo0:gooooo00?o0000 ooooooooool0"], ImageRangeCache->{{{0, 287}, {138.562, 0}} -> {-1.06912, -0.648941, \ 0.00936672, 0.00936672}, {{7.375, 220.875}, {135.25, 3.25}} -> {-0.29575, \ -15.4809, 0.0106203, 1.00527}, {{220.875, 274.25}, {122.625, 15.875}} -> \ {-14.0044, -0.476246, 0.0629515, 0.0236068}, {{223.688, 239.562}, {115, \ 72.625}} -> {-14.8202, -9.57835, 0.0661424, 0.214041}, {{223.688, 239.562}, \ {65.8125, 23.5}} -> {-14.8202, -20.0998, 0.0661424, 0.214041}}], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] Graphics \[SkeletonIndicator]\), False, Editable->False]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(getInitialAssignments[]\)], "Input"], Cell[BoxData[ \({XMLElement[ "initialAssignment", {"symbol" \[Rule] "x"}, {XMLElement[ "math", {"xmlns" \[Rule] "http://www.w3.org/1998/Math/MathML"}, {XMLElement[ "apply", {}, {XMLElement["plus", {}, {}], XMLElement[ "apply", {}, {XMLElement["times", {}, {}], XMLElement["cn", {"type" \[Rule] "integer"}, {"5"}], XMLElement["ci", {}, {"y"}]}], XMLElement[ "cn", {"type" \[Rule] "integer"}, {"17"}]}]}]}]}\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(getInitialAssignment[1] // XMLOut\)], "Input"], Cell[BoxData[ \("\n \n \n \n \ \n \n 5\n y\n \ \n 17\n \n \n\ "\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(createModel[]\)], "Input"], Cell[BoxData[ \("\n\n\n\n\ \n \n \n \ 2006-09-25T15:53:34\n \ \n \ 5103-24185-26591\n \ Dont-Even-Think-About-It\n \ PC\n \ 5.2 for Mac OS X x86 (32-bit) (February 24, \ 2006)\n \ MacOSX\n \ x86\n \ \n \ 2.6.0.p960925 (Prerelease Version of \ 25-Sept-2006)\n \ MacOSX-x86\n \ mathman\n \ \n \n \n \n \n

This \ is a Systems Biology Markup Language (SBML) file, generated by MathSBML \ 2.6.0.p960925 (Prerelease Version of 25-Sept-2006) 25-September-2006 \ 15:53:30.952678. SBML is a form of XML, and most XML files will not display \ properly in an internet browser. To view the contents of an XML file use the \ "Page Source" or equivalent button on you browser.

\n \n\
\n \n \n \n \n \n \n \n \ Dont-Even-Think-About-It at (automatically \ generated)\n mathman (automatically \ generated)\n \n \ anonymous@not.specified\n \n \ MathSBML User Community\n \ \n \n \n \n \ \n \ 2006-09-25T15:53:31\n \ \n \n \n \n \n \n \n \n \ \n \n \ \n \n \n \n \ \n \n \n \ \n \n \n \n \ \n \n 5\n \ y\n \n 17\n \ \n \n \n \n \ \n \n \ \n \n \ \n -1\n x\n \ \n \n \n \n \n \n \n
\n\
"\)], "Output"] }, Open ]] }, FrontEndVersion->"5.2 for Macintosh", ScreenRectangle->{{0, 1920}, {0, 1174}}, WindowSize->{520, 740}, WindowMargins->{{12, Automatic}, {Automatic, 24}}, CellLabelAutoDelete->True ] (******************************************************************* Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. *******************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[1754, 51, 851, 15, 139, "Input"], Cell[2608, 68, 79, 1, 27, "Input"], Cell[CellGroupData[{ Cell[2712, 73, 54, 1, 27, "Input"], Cell[2769, 76, 2252, 58, 55, "Print"], Cell[5024, 136, 752, 19, 59, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5813, 160, 54, 1, 27, "Input"], Cell[5870, 163, 23901, 691, 148, 8375, 495, "GraphicsData", "PostScript", \ "Graphics"], Cell[29774, 856, 130, 3, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[29941, 864, 56, 1, 27, "Input"], Cell[30000, 867, 625, 12, 139, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[30662, 884, 66, 1, 27, "Input"], Cell[30731, 887, 318, 5, 219, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[31086, 897, 46, 1, 27, "Input"], Cell[31135, 900, 4724, 69, 2203, "Output"] }, Open ]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)