<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'cyclic sum' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'cyclic sum' posted on the 'Pascal' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 22:46:21 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 22:46:21 -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>cyclic sum</title>
      <link>http://www.programmersheaven.com/mb/pasprog/427102/427102/cyclic-sum/</link>
      <description>hello everyone! i wanted to know if enyone can help me with this: i am learning pascal basics in school so i have one little problem with this:&lt;br /&gt;
&lt;br /&gt;
i want to make programm where the 'x' value type user, and then the sum is calculated, but i dont know how to make formula for this &lt;br /&gt;
&lt;br /&gt;
(1/2)+(3/2^2)+(5/2^3)+...+((2x-1)/2^x)&lt;br /&gt;
&lt;br /&gt;
so the formula is ((2x-1)/2^x); for example: user types that x is 3;&lt;br /&gt;
then the programm puts 3 in x place; then 2; and then 1 and then all this sum together like this example where x is 3&lt;br /&gt;
((6-1)/8)  +  ((4-1)/4)  +  ((2-1)/2) = ...&lt;br /&gt;
&lt;br /&gt;
so i want to create summing like this, i think it is something related with cycles, but i dont know for sure, so if anyone can help me i'll be grateful :)&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/427102/427102/cyclic-sum/</guid>
      <pubDate>Mon, 30 Jan 2012 01:31:53 -0700</pubDate>
      <category>Pascal</category>
    </item>
  </channel>
</rss>
