1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
3
<!-- Created on September, 20 2006 by texi2html 1.76 -->
5
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
6
Karl Berry <karl@freefriends.org>
7
Olaf Bachmann <obachman@mathematik.uni-kl.de>
9
Maintained by: Many creative people <dev@texi2html.cvshome.org>
10
Send bugs and suggestions to <users@texi2html.cvshome.org>
14
<title>Maxima Manual: 55. lindstedt</title>
16
<meta name="description" content="Maxima Manual: 55. lindstedt">
17
<meta name="keywords" content="Maxima Manual: 55. lindstedt">
18
<meta name="resource-type" content="document">
19
<meta name="distribution" content="global">
20
<meta name="Generator" content="texi2html 1.76">
21
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
22
<style type="text/css">
24
a.summary-letter {text-decoration: none}
25
pre.display {font-family: serif}
26
pre.format {font-family: serif}
27
pre.menu-comment {font-family: serif}
28
pre.menu-preformatted {font-family: serif}
29
pre.smalldisplay {font-family: serif; font-size: smaller}
30
pre.smallexample {font-size: smaller}
31
pre.smallformat {font-family: serif; font-size: smaller}
32
pre.smalllisp {font-size: smaller}
33
span.sansserif {font-family:sans-serif; font-weight:normal;}
34
ul.toc {list-style: none}
47
font-family: sans-serif
53
font-family: sans-serif
59
font-family: sans-serif
62
h2,h3,h4,h5,h6 { margin-left: +4%; }
82
background: rgb(200,255,255);
83
font-family: sans-serif
93
background: rgb(255,220,255);
94
/*background: rgb(200,255,255); */
95
/* font-family: fixed */
105
background: rgb(247,242,180); /* kind of sandy */
106
/* background: rgb(200,255,255); */ /* sky blue */
107
font-family: "Lucida Console", monospace
126
<link rel="icon" href="http://maxima.sourceforge.net/favicon.ico"/>
129
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
131
<a name="lindstedt"></a>
132
<a name="SEC201"></a>
133
<table cellpadding="1" cellspacing="1" border="0">
134
<tr><td valign="middle" align="left">[<a href="maxima_54.html#SEC200" title="Previous section in reading order"> < </a>]</td>
135
<td valign="middle" align="left">[<a href="#SEC202" title="Next section in reading order"> > </a>]</td>
136
<td valign="middle" align="left"> </td>
137
<td valign="middle" align="left">[<a href="maxima_54.html#SEC198" title="Beginning of this chapter or previous chapter"> << </a>]</td>
138
<td valign="middle" align="left">[<a href="maxima.html#SEC_Top" title="Up section"> Up </a>]</td>
139
<td valign="middle" align="left">[<a href="maxima_56.html#SEC203" title="Next chapter"> >> </a>]</td>
140
<td valign="middle" align="left"> </td>
141
<td valign="middle" align="left"> </td>
142
<td valign="middle" align="left"> </td>
143
<td valign="middle" align="left"> </td>
144
<td valign="middle" align="left">[<a href="maxima.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
145
<td valign="middle" align="left">[<a href="maxima_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
146
<td valign="middle" align="left">[<a href="maxima_72.html#SEC264" title="Index">Index</a>]</td>
147
<td valign="middle" align="left">[<a href="maxima_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
149
<h1 class="chapter"> 55. lindstedt </h1>
151
<table class="menu" border="0" cellspacing="0">
152
<tr><td align="left" valign="top"><a href="#SEC202">55.1 Definitions for lindstedt</a></td><td> </td><td align="left" valign="top">
157
<a name="Definitions-for-lindstedt"></a>
158
<a name="SEC202"></a>
159
<table cellpadding="1" cellspacing="1" border="0">
160
<tr><td valign="middle" align="left">[<a href="#SEC201" title="Previous section in reading order"> < </a>]</td>
161
<td valign="middle" align="left">[<a href="maxima_56.html#SEC203" title="Next section in reading order"> > </a>]</td>
162
<td valign="middle" align="left"> </td>
163
<td valign="middle" align="left">[<a href="#SEC201" title="Beginning of this chapter or previous chapter"> << </a>]</td>
164
<td valign="middle" align="left">[<a href="#SEC201" title="Up section"> Up </a>]</td>
165
<td valign="middle" align="left">[<a href="maxima_56.html#SEC203" title="Next chapter"> >> </a>]</td>
166
<td valign="middle" align="left"> </td>
167
<td valign="middle" align="left"> </td>
168
<td valign="middle" align="left"> </td>
169
<td valign="middle" align="left"> </td>
170
<td valign="middle" align="left">[<a href="maxima.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
171
<td valign="middle" align="left">[<a href="maxima_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
172
<td valign="middle" align="left">[<a href="maxima_72.html#SEC264" title="Index">Index</a>]</td>
173
<td valign="middle" align="left">[<a href="maxima_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
175
<h2 class="section"> 55.1 Definitions for lindstedt </h2>
179
<dt><u>Function:</u> <b>Lindstedt</b><i> (<var>eq</var>,<var>pvar</var>,<var>torder</var>,<var>ic</var>)</i>
180
<a name="IDX1725"></a>
182
<dd><p>This is a first pass at a Lindstedt code. It can solve problems
183
with initial conditions entered, which can be arbitrary constants,
184
(just not <var>%k1</var> and <var>%k2</var>) where the initial conditions on the perturbation
185
equations are <em>z[i]=0, z'[i]=0</em> for <em>i>0</em>. <var>ic</var> is the list of
188
<p>Problems occur when initial conditions are not given, as the constants
189
in the perturbation equations are the same as the zero order equation
190
solution. Also, problems occur when the initial conditions for the
191
perturbation equations are not <em>z[i]=0, z'[i]=0</em> for <em>i>0</em>, such as the
192
Van der Pol equation.
195
</p><table><tr><td> </td><td><pre class="example">(%i1) load("makeOrders")$
197
(%i2) load("lindstedt")$
199
(%i3) Lindstedt('diff(x,t,2)+x-(e*x^3)/6,e,2,[1,0]);
201
e (cos(5 T) - 24 cos(3 T) + 23 cos(T))
202
(%o3) [[[---------------------------------------
204
e (cos(3 T) - cos(T))
205
- --------------------- + cos(T)],
209
T = (- ---- - -- + 1) t]]
211
</pre></td></tr></table>
212
<p>To use this function write first <code>load("makeOrders")</code> and <code>load("lindstedt")</code>.
216
<table cellpadding="1" cellspacing="1" border="0">
217
<tr><td valign="middle" align="left">[<a href="#SEC201" title="Beginning of this chapter or previous chapter"> << </a>]</td>
218
<td valign="middle" align="left">[<a href="maxima_56.html#SEC203" title="Next chapter"> >> </a>]</td>
219
<td valign="middle" align="left"> </td>
220
<td valign="middle" align="left"> </td>
221
<td valign="middle" align="left"> </td>
222
<td valign="middle" align="left"> </td>
223
<td valign="middle" align="left"> </td>
224
<td valign="middle" align="left">[<a href="maxima.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
225
<td valign="middle" align="left">[<a href="maxima_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
226
<td valign="middle" align="left">[<a href="maxima_72.html#SEC264" title="Index">Index</a>]</td>
227
<td valign="middle" align="left">[<a href="maxima_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
231
This document was generated by <em>Robert Dodier</em> on <em>September, 20 2006</em> using <a href="http://texi2html.cvshome.org/"><em>texi2html 1.76</em></a>.