<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'repeating in pascal' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'repeating in pascal' posted on the 'Pascal' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sun, 19 May 2013 00:44:20 -0700</pubDate>
    <lastBuildDate>Sun, 19 May 2013 00:44:20 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>repeating in pascal</title>
      <link>http://www.programmersheaven.com/mb/pasprog/427534/427534/repeating-in-pascal/</link>
      <description>hi! i have exercise to create x and y value table from this function: y=4x^3-2x^2+5 and x goes from -3 to 1, but by step 0.1 (so the x is -3; -2,9; -2.8;....0,8; 0,9; 1); i got this far:&lt;br /&gt;
&lt;br /&gt;
program numbers;&lt;br /&gt;
var x, y:integer;&lt;br /&gt;
begin&lt;br /&gt;
write('function y=4x^3-2x^2+5');&lt;br /&gt;
writeln('x values:');&lt;br /&gt;
for x:=-3 to 1 do            &lt;br /&gt;
writeln(x);  __________//at this plase i need that x goes -3; -2.9; -2.8 not -3; -2; -1&lt;br /&gt;
&lt;br /&gt;
writeln('y values')   _____//and this part i need to get in column, next to x column and also i cant get that program puts all x values from -3 to 1 in x place and shows all y values&lt;br /&gt;
y:=(4*x*x*x)-(2*x*x)+5;    &lt;br /&gt;
writeln(y);                &lt;br /&gt;
readln;                    &lt;br /&gt;
end.&lt;br /&gt;
&lt;br /&gt;
and i also think that i cant use the integer; cause i will use 0,..; but when i replace integer with real there is error "invalid FOR control variable"&lt;br /&gt;
if you can something suggest, please repeat :)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/427534/427534/repeating-in-pascal/</guid>
      <pubDate>Tue, 21 Feb 2012 02:15:04 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: repeating in pascal</title>
      <link>http://www.programmersheaven.com/mb/pasprog/427534/427537/re-repeating-in-pascal/#427537</link>
      <description>if it helps to someone, who understands all this things then&lt;br /&gt;
i found something similar there:&lt;br /&gt;
&lt;a href="http://ideone.com/0GoH8"&gt;http://ideone.com/0GoH8&lt;/a&gt;&lt;br /&gt;
but i need just 2 columms and x and y equation is different&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/427534/427537/re-repeating-in-pascal/#427537</guid>
      <pubDate>Tue, 21 Feb 2012 03:12:34 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: repeating in pascal</title>
      <link>http://www.programmersheaven.com/mb/pasprog/427534/427547/re-repeating-in-pascal/#427547</link>
      <description>&lt;pre class="sourcecode"&gt;
program numbers;

      function cube (x : real) : real ;
      begin
         cube := x * sqr(x)
      end ;

var
   x, y : real;
   i    : integer;

begin
   write('function y = 4x^3 - 2x^2 + 5');
   writeln('x values:');
   for i := -30 to 10 do begin
      x := i / 10.0 ;
      y := 4.0 * cube(x) - 2.0 * sqr(x) + 5.0 ;
      writeln (x:10:3, y:10:3)
   end ;
   readln;
end.
&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/427534/427547/re-repeating-in-pascal/#427547</guid>
      <pubDate>Tue, 21 Feb 2012 11:04:37 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: repeating in pascal</title>
      <link>http://www.programmersheaven.com/mb/pasprog/427534/428722/re-repeating-in-pascal/#428722</link>
      <description>Thanks&lt;br /&gt;
i had a such problem&lt;br /&gt;
&lt;a href="http://www.programmersheaven.com"&gt;02.05.1994llls&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/427534/428722/re-repeating-in-pascal/#428722</guid>
      <pubDate>Fri, 08 Jun 2012 07:43:55 -0700</pubDate>
      <category>Pascal</category>
    </item>
  </channel>
</rss>