MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

letter

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22139] letter
  • From: mhb <madani at molavi.ut.ac.ir>
  • Date: Wed, 16 Feb 2000 02:34:59 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

If it is possible explain for me what is the error commited in my
program for solving
the Euler Lagrange differantial equation.
Your's sincerely.

E-mail:khhana at Molavi.ut.ac.ir


(***********************************************************************

                    Mathematica-Compatible Notebook

This notebook can be used on any computer system with Mathematica 3.0,
MathReader 3.0, or any compatible application. The data for the notebook 
starts with the line of 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 at 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[      2297,         72]*)
(*NotebookOutlinePosition[      3008,         97]*)
(*  CellTagsIndexPosition[      2964,         93]*)
(*WindowFrame->Normal*)



Notebook[{
Cell["\<\

(*******************************************************************)
Landa=0.3;
Khh=41.22/3;
nyeo=2.;
Ro=0.002;
KF=(3Ro*Pi^2)^(1/3);
L[r_]:=3(KF*r)^(-3)*(Sin[KF*r]-(KF*r)*Cos[KF*r]);
gF[r_]:=1.-L[r]^2/nyeo;
epsilon=10.22;
sigma=2.556;
V[r_]:=4epsilon*((sigma/r)^12-(sigma/r)^6);
Label[begin];
Landa+=0.012;
DSolve[2Khh*gF[r]*f''[r]+2Khh*D[gF,r]*f'[r]+(V[r]+2Landa)*gF[r]*f[r]==0,f[r],\
r];
If[0.5Ro*Integrate[gF[r]*f[r]^2,{r,0,Infinity}]==1,
(delta)E=0.5Ro^2*NIntegrate[gF[r]*(2Khh*(Grad[f[r]])^2+f[r]^2*V[r]),{r,o,\
Infinity}],Goto[begin]];
Print[(delta)E]\
\>", "Input"]
},
FrontEndVersion->"Microsoft Windows 3.0",
ScreenRectangle->{{0, 640}, {0, 424}},
WindowSize->{576, 369},
WindowMargins->{{-4, Automatic}, {Automatic, 5}},
PrintingCopies->1,
PrintingPageRange->{Automatic, Automatic}
]


(***********************************************************************
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[1709, 49, 584, 21, 390, "Input"]
}
]
*)




(***********************************************************************
End of Mathematica Notebook file.
***********************************************************************)

--------------F1A0152EB82F7D39C0013D7E

(***********************************************************************

                    Mathematica-Compatible Notebook

This notebook can be used on any computer system with Mathematica 3.0,
MathReader 3.0, or any compatible application. The data for the notebook 
starts with the line of 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 at 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[      2297,         72]*)
(*NotebookOutlinePosition[      3008,         97]*)
(*  CellTagsIndexPosition[      2964,         93]*)
(*WindowFrame->Normal*)



Notebook[{
Cell["\<\

(*******************************************************************)
Landa=0.3;
Khh=41.22/3;
nyeo=2.;
Ro=0.002;
KF=(3Ro*Pi^2)^(1/3);
L[r_]:=3(KF*r)^(-3)*(Sin[KF*r]-(KF*r)*Cos[KF*r]);
gF[r_]:=1.-L[r]^2/nyeo;
epsilon=10.22;
sigma=2.556;
V[r_]:=4epsilon*((sigma/r)^12-(sigma/r)^6);
Label[begin];
Landa+=0.012;
DSolve[2Khh*gF[r]*f''[r]+2Khh*D[gF,r]*f'[r]+(V[r]+2Landa)*gF[r]*f[r]==0,f[r],\
r];
If[0.5Ro*Integrate[gF[r]*f[r]^2,{r,0,Infinity}]==1,
(delta)E=0.5Ro^2*NIntegrate[gF[r]*(2Khh*(Grad[f[r]])^2+f[r]^2*V[r]),{r,o,\
Infinity}],Goto[begin]];
Print[(delta)E]\
\>", "Input"]
},
FrontEndVersion->"Microsoft Windows 3.0",
ScreenRectangle->{{0, 640}, {0, 424}},
WindowSize->{576, 369},
WindowMargins->{{-4, Automatic}, {Automatic, 5}},
PrintingCopies->1,
PrintingPageRange->{Automatic, Automatic}
]


(***********************************************************************
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[1709, 49, 584, 21, 390, "Input"]
}
]
*)




(***********************************************************************
End of Mathematica Notebook file.
***********************************************************************)



  • Prev by Date: Re: What is happening here?
  • Next by Date: solving third order equation: bad result
  • Previous by thread: Finally...the results
  • Next by thread: solving third order equation: bad result