(************** Content-type: application/mathematica ************** CreatedBy='Mathematica 5.0' 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[ 11985, 373]*) (*NotebookOutlinePosition[ 12732, 398]*) (* CellTagsIndexPosition[ 12688, 394]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell[BoxData[ \(SetDirectory["\"]\)], "Input"], Cell[BoxData[ \("d:\\hirota\\allfiles"\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(\(\ \)\(Get["\"]\)\(\ \)\)\)], "Input"], Cell[BoxData[ \("Package hirota.m was successfully loaded."\)], "Print"], Cell[BoxData[ \("/*********************************************************/"\)], \ "Print"], Cell[BoxData[ \("/* WELCOME TO THE MATHEMATICA PROGRAM HIROTA.M */"\)], \ "Print"], Cell[BoxData[ \("/* BY WILLY HEREMAN AND WUNING ZHUANG */"\)], \ "Print"], Cell[BoxData[ \("/* FOR THE CALCULATION OF SOLITONS */"\)], \ "Print"], Cell[BoxData[ InterpretationBox[\("/* OF THE "\[InvisibleSpace]"Ito-b4"\ \[InvisibleSpace]" EQUATION */"\), SequenceForm[ "/* OF THE ", "Ito-b4", " EQUATION */"], Editable->False]], "Print"], Cell[BoxData[ \("/* WITH HIROTA'S METHOD */"\)], \ "Print"], Cell[BoxData[ \("/* Version 1.0 firts released on May 29, 1995 */"\)], \ "Print"], Cell[BoxData[ \("/* Last updated on January 25, 2007 */"\)], \ "Print"], Cell[BoxData[ \("/* Copyright 1995-2007 */"\)], \ "Print"], Cell[BoxData[ \("/*********************************************************/"\)], \ "Print"], Cell[BoxData[ \("The equation in f corresponding to the given bilinear operator is \ "\)], "Print"], Cell[BoxData[ InterpretationBox[ RowBox[{ RowBox[{ RowBox[{ RowBox[{ SuperscriptBox["f", TagBox[\((0, 0, 0, 1)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}], " ", RowBox[{ SuperscriptBox["f", TagBox[\((1, 0, 0, 0)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}]}], "-", RowBox[{\(f[x, y, z, t]\), " ", RowBox[{ SuperscriptBox["f", TagBox[\((1, 0, 0, 1)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}]}], "-", RowBox[{"2", " ", SuperscriptBox[ RowBox[{ SuperscriptBox["f", TagBox[\((1, 0, 0, 1)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}], "2"]}], "+", RowBox[{"2", " ", RowBox[{ SuperscriptBox["f", TagBox[\((1, 0, 0, 0)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}], " ", RowBox[{ SuperscriptBox["f", TagBox[\((1, 0, 0, 2)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}]}], "-", RowBox[{ RowBox[{ SuperscriptBox["f", TagBox[\((0, 0, 0, 2)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}], " ", RowBox[{ SuperscriptBox["f", TagBox[\((2, 0, 0, 0)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}]}], "+", RowBox[{"2", " ", RowBox[{ SuperscriptBox["f", TagBox[\((0, 0, 0, 1)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}], " ", RowBox[{ SuperscriptBox["f", TagBox[\((2, 0, 0, 1)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}]}], "-", RowBox[{\(f[x, y, z, t]\), " ", RowBox[{ SuperscriptBox["f", TagBox[\((2, 0, 0, 2)\), Derivative], MultilineFunction->None], "[", \(x, y, z, t\), "]"}]}]}], "\[InvisibleSpace]", "\<\" = 0\"\>"}], SequenceForm[ Plus[ Times[ Derivative[ 0, 0, 0, 1][ f][ x, y, z, t], Derivative[ 1, 0, 0, 0][ f][ x, y, z, t]], Times[ -1, f[ x, y, z, t], Derivative[ 1, 0, 0, 1][ f][ x, y, z, t]], Times[ -2, Power[ Derivative[ 1, 0, 0, 1][ f][ x, y, z, t], 2]], Times[ 2, Derivative[ 1, 0, 0, 0][ f][ x, y, z, t], Derivative[ 1, 0, 0, 2][ f][ x, y, z, t]], Times[ -1, Derivative[ 0, 0, 0, 2][ f][ x, y, z, t], Derivative[ 2, 0, 0, 0][ f][ x, y, z, t]], Times[ 2, Derivative[ 0, 0, 0, 1][ f][ x, y, z, t], Derivative[ 2, 0, 0, 1][ f][ x, y, z, t]], Times[ -1, f[ x, y, z, t], Derivative[ 2, 0, 0, 2][ f][ x, y, z, t]]], " = 0"], Editable->False]], "Print"], Cell[BoxData[ InterpretationBox[\("For this equation the polynomial P(K,-OMEGA,L)= "\ \[InvisibleSpace]\(\(-K\)\ OMEGA + K\^2\ OMEGA\^2\)\), SequenceForm[ "For this equation the polynomial P(K,-OMEGA,L)= ", Plus[ Times[ -1, K, OMEGA], Times[ Power[ K, 2], Power[ OMEGA, 2]]]], Editable->False]], "Print"], Cell[BoxData[ \("The equation has at least a one- and two-soliton solution."\)], "Print"], Cell[BoxData[ InterpretationBox[\("For the "\[InvisibleSpace]"Ito-b4"\[InvisibleSpace]" \ equation, "\), SequenceForm[ "For the ", "Ito-b4", " equation, "], Editable->False]], "Print"], Cell[BoxData[ \("we use the dispersion relation: "\)], "Print"], Cell[BoxData[ InterpretationBox[\(" OMEGA[I] = "\[InvisibleSpace]1\/K[\[ImaginaryI]]\), SequenceForm[ " OMEGA[I] = ", Power[ K[ Complex[ 0, 1]], -1]], Editable->False]], "Print"], Cell[BoxData[ \("In the Expansion of f we use THETA = K X - OMEGA T + CST."\)], "Print"], Cell[BoxData[ \("Starting the random test(s) for the existence of a "\)], "Print"], Cell[BoxData[ InterpretationBox[\(3\[InvisibleSpace]" soliton solution."\), SequenceForm[ 3, " soliton solution."], Editable->False]], "Print"], Cell[BoxData[ \("Wavenumbers K[I] selected for the random number test(s): "\)], "Print"], Cell[BoxData[ InterpretationBox[\("for this test \ K["\[InvisibleSpace]1\[InvisibleSpace]"] = "\[InvisibleSpace]3\), SequenceForm[ "for this test K[", 1, "] = ", 3], Editable->False]], "Print"], Cell[BoxData[ InterpretationBox[\("for this test \ K["\[InvisibleSpace]2\[InvisibleSpace]"] = "\[InvisibleSpace]9\), SequenceForm[ "for this test K[", 2, "] = ", 9], Editable->False]], "Print"], Cell[BoxData[ InterpretationBox[\("for this test \ K["\[InvisibleSpace]3\[InvisibleSpace]"] = "\[InvisibleSpace]19\), SequenceForm[ "for this test K[", 3, "] = ", 19], Editable->False]], "Print"], Cell[BoxData[ \("The equation did not pass the random number test(s) for "\)], "Print"], Cell[BoxData[ InterpretationBox[\("the existence of a "\[InvisibleSpace]3\ \[InvisibleSpace]" soliton solution."\), SequenceForm[ "the existence of a ", 3, " soliton solution."], Editable->False]], "Print"], Cell[BoxData[ \("Starting the construction of the two-soliton solution."\)], "Print"], Cell[BoxData[ \("The coefficient a[I,J] is calculated via the polynomial form."\)], \ "Print"], Cell[BoxData[ InterpretationBox[\("The polynomial is P[K,-OMEGA,L] = "\[InvisibleSpace]\ \(\(-K\)\ OMEGA + K\^2\ OMEGA\^2\)\), SequenceForm[ "The polynomial is P[K,-OMEGA,L] = ", Plus[ Times[ -1, K, OMEGA], Times[ Power[ K, 2], Power[ OMEGA, 2]]]], Editable->False]], "Print"], Cell[BoxData[ InterpretationBox[\("The coefficient a[I,J] = \ "\[InvisibleSpace]\(-\(\(\((K[\[ImaginaryI]] - K[J])\)\^2\ \ \((K[\[ImaginaryI]]\^2 - K[\[ImaginaryI]]\ K[J] + K[J]\^2)\)\)\/\(\((K[\[ImaginaryI]] + K[J])\)\^2\ \((K[\ \[ImaginaryI]]\^2 + K[\[ImaginaryI]]\ K[J] + K[J]\^2)\)\)\)\)\), SequenceForm[ "The coefficient a[I,J] = ", Times[ -1, Power[ Plus[ K[ Complex[ 0, 1]], Times[ -1, K[ J]]], 2], Power[ Plus[ K[ Complex[ 0, 1]], K[ J]], -2], Plus[ Power[ K[ Complex[ 0, 1]], 2], Times[ -1, K[ Complex[ 0, 1]], K[ J]], Power[ K[ J], 2]], Power[ Plus[ Power[ K[ Complex[ 0, 1]], 2], Times[ K[ Complex[ 0, 1]], K[ J]], Power[ K[ J], 2]], -1]]], Editable->False]], "Print"], Cell[BoxData[ InterpretationBox[\("The function f = "\[InvisibleSpace]\(1 + \ \[ExponentialE]\^THETA[1] + \[ExponentialE]\^THETA[2] + \ \[ExponentialE]\^\(THETA[1] + THETA[2]\)\ a[1, 2]\)\), SequenceForm[ "The function f = ", Plus[ 1, Power[ E, THETA[ 1]], Power[ E, THETA[ 2]], Times[ Power[ E, Plus[ THETA[ 1], THETA[ 2]]], a[ 1, 2]]]], Editable->False]], "Print"], Cell[BoxData[ \("At the end of the computations the form of the function f"\)], "Print"], Cell[BoxData[ \("and the coefficient a[1,2] are explicitly available."\)], "Print"], Cell[BoxData[ \("The explicit forms of OMEGA[i] and THETA[i] are also available."\)], \ "Print"], Cell[BoxData[ \("The Explicit form of f can be obtained by typing EXPRF."\)], "Print"] }, Open ]] }, FrontEndVersion->"5.0 for Microsoft Windows", ScreenRectangle->{{0, 1280}, {0, 941}}, ScreenStyleEnvironment->"Presentation", PrintingStyleEnvironment->"Presentation", WindowSize->{1272, 907}, WindowMargins->{{0, Automatic}, {Automatic, 0}}, ShowSelection->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[CellGroupData[{ Cell[1776, 53, 73, 1, 38, "Input"], Cell[1852, 56, 56, 1, 38, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[1945, 62, 73, 1, 38, "Input"], Cell[2021, 65, 76, 1, 28, "Print"], Cell[2100, 68, 96, 2, 28, "Print"], Cell[2199, 72, 96, 2, 28, "Print"], Cell[2298, 76, 96, 2, 28, "Print"], Cell[2397, 80, 96, 2, 28, "Print"], Cell[2496, 84, 269, 5, 28, "Print"], Cell[2768, 91, 96, 2, 28, "Print"], Cell[2867, 95, 96, 2, 28, "Print"], Cell[2966, 99, 96, 2, 28, "Print"], Cell[3065, 103, 96, 2, 28, "Print"], Cell[3164, 107, 96, 2, 28, "Print"], Cell[3263, 111, 103, 2, 28, "Print"], Cell[3369, 115, 3563, 92, 76, "Print"], Cell[6935, 209, 377, 9, 29, "Print"], Cell[7315, 220, 93, 1, 28, "Print"], Cell[7411, 223, 200, 4, 28, "Print"], Cell[7614, 229, 67, 1, 28, "Print"], Cell[7684, 232, 227, 6, 47, "Print"], Cell[7914, 240, 92, 1, 28, "Print"], Cell[8009, 243, 86, 1, 28, "Print"], Cell[8098, 246, 159, 3, 28, "Print"], Cell[8260, 251, 92, 1, 28, "Print"], Cell[8355, 254, 209, 4, 28, "Print"], Cell[8567, 260, 209, 4, 28, "Print"], Cell[8779, 266, 211, 4, 28, "Print"], Cell[8993, 272, 91, 1, 28, "Print"], Cell[9087, 275, 222, 4, 28, "Print"], Cell[9312, 281, 89, 1, 28, "Print"], Cell[9404, 284, 98, 2, 28, "Print"], Cell[9505, 288, 349, 9, 29, "Print"], Cell[9857, 299, 1203, 40, 50, "Print"], Cell[11063, 341, 525, 16, 29, "Print"], Cell[11591, 359, 92, 1, 28, "Print"], Cell[11686, 362, 87, 1, 28, "Print"], Cell[11776, 365, 100, 2, 28, "Print"], Cell[11879, 369, 90, 1, 28, "Print"] }, Open ]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)