<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, stream lines plot</title>
    <link>http://www.mapleprimes.com/questions/143152-Stream-Lines-Plot</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 09:29:02 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 09:29:02 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, stream lines plot</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, stream lines plot</title>
      <link>http://www.mapleprimes.com/questions/143152-Stream-Lines-Plot</link>
    </image>
    <item>
      <title>Solution</title>
      <link>http://www.mapleprimes.com/questions/143152-Stream-Lines-Plot?ref=Feed:MaplePrimes:stream lines plot:Comments#answer143188</link>
      <itunes:summary>&lt;p&gt;I guess you consider the function of two variables as a scalar field in the plane and the &lt;strong&gt;stream lines&lt;/strong&gt; - the curves in the plane, which at each point has a tangent vector, which coincides with the gradient. If so, then your problem can be solved as follows &lt;strong&gt;(psi=3&lt;/strong&gt;):&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;psi:=(x,y)-&amp;gt;2*y-exp(-x):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C:=3: X:=[seq(i, i=0..1, 0.1)]:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Y:=[seq(solve(psi(X[i], y)=C), i=1..11)]:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;V:=[seq(dsolve({diff(x(t), t)=subs(x=x(t), y=y(t), diff(psi(x,y), x)), diff(y(t), t)=subs(x=x(t), y=y(t), diff(psi(x,y), y)), x(0)=X[i], y(0)=Y[i]}), i=1..11)]:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sol:=evalf(subs(_Z1=0, V));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;plot([seq([rhs(Sol[i,1]), rhs(Sol[i,2]), t=0..3], i=1..11)], color=red, thickness=2, labels=[x, y], title="Stream lines for psi =3,&amp;nbsp; x = 0 .. 1", titlefont=[TIMES, ROMAN, 18], view=[0..2, 0..5+C] );&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="http://s020.radikal.ru/i713/1302/ec/e30e09967e30.jpg" alt="" width="640" height="400"&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I guess you consider the function of two variables as a scalar field in the plane and the &lt;strong&gt;stream lines&lt;/strong&gt; - the curves in the plane, which at each point has a tangent vector, which coincides with the gradient. If so, then your problem can be solved as follows &lt;strong&gt;(psi=3&lt;/strong&gt;):&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;psi:=(x,y)-&amp;gt;2*y-exp(-x):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C:=3: X:=[seq(i, i=0..1, 0.1)]:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Y:=[seq(solve(psi(X[i], y)=C), i=1..11)]:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;V:=[seq(dsolve({diff(x(t), t)=subs(x=x(t), y=y(t), diff(psi(x,y), x)), diff(y(t), t)=subs(x=x(t), y=y(t), diff(psi(x,y), y)), x(0)=X[i], y(0)=Y[i]}), i=1..11)]:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sol:=evalf(subs(_Z1=0, V));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;plot([seq([rhs(Sol[i,1]), rhs(Sol[i,2]), t=0..3], i=1..11)], color=red, thickness=2, labels=[x, y], title="Stream lines for psi =3,&amp;nbsp; x = 0 .. 1", titlefont=[TIMES, ROMAN, 18], view=[0..2, 0..5+C] );&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="http://s020.radikal.ru/i713/1302/ec/e30e09967e30.jpg" alt="" width="640" height="400"&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>143188</guid>
      <pubDate>Wed, 06 Feb 2013 23:44:15 Z</pubDate>
      <itunes:author>Kitonum</itunes:author>
      <author>Kitonum</author>
    </item>
  </channel>
</rss>