<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'i need a program that will compute area of various geometrical figures' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'i need a program that will compute area of various geometrical figures' posted on the 'JavaScript' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 05:41:40 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 05:41:40 -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>i need a program that will compute area of various geometrical figures</title>
      <link>http://www.programmersheaven.com/mb/java-script/282285/282285/i-need-a-program-that-will-compute-area-of-various-geometrical-figures/</link>
      <description>I was wishing if someone could write a program that will compute tha area of various figures. This will prompt the user to select a square,rectangle or a triangle. depending on the user selection. and also the prompt should request for the measures. the script will calculate and display the name and the area. the user will be permitted to enter values with decimal places.&lt;br /&gt;
&lt;br /&gt;
square: A =side*side&lt;br /&gt;
rectangle A=lenght*width&lt;br /&gt;
triangle A=1/2base*height&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/java-script/282285/282285/i-need-a-program-that-will-compute-area-of-various-geometrical-figures/</guid>
      <pubDate>Mon, 22 Nov 2004 09:08:15 -0700</pubDate>
      <category>JavaScript</category>
    </item>
    <item>
      <title>Re: i need a program that will compute area of various geometrical fig</title>
      <link>http://www.programmersheaven.com/mb/java-script/282285/282323/re-i-need-a-program-that-will-compute-area-of-various-geometrical-fig/#282323</link>
      <description>There is a nice algorith available to calculate the area of a polygon defined by an array of x,y coordinate pairs.&lt;br /&gt;
It relies on the idea that the area formed by any pair of points (Xi,Yi) and (Xi+1, Yi+1) and the points projected onto the X-axis is a trapezium, with area = (Xi+1-Xi)*(Yi+Yi+1)/2.&lt;br /&gt;
Some trapeziums will have a negative and some a positive area.  If you add all the areas traversing clockwise, the total is the area of the polygon.  Going anti-clock gives the negative area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clive&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/java-script/282285/282323/re-i-need-a-program-that-will-compute-area-of-various-geometrical-fig/#282323</guid>
      <pubDate>Mon, 22 Nov 2004 12:16:14 -0700</pubDate>
      <category>JavaScript</category>
    </item>
    <item>
      <title>Re: i need a program that will compute area of various geometrical fig</title>
      <link>http://www.programmersheaven.com/mb/java-script/282285/283085/re-i-need-a-program-that-will-compute-area-of-various-geometrical-fig/#283085</link>
      <description>: There is a nice algorith available to calculate the area of a polygon defined by an array of x,y coordinate pairs.&lt;br /&gt;
: It relies on the idea that the area formed by any pair of points (Xi,Yi) and (Xi+1, Yi+1) and the points projected onto the X-axis is a trapezium, with area = (Xi+1-Xi)*(Yi+Yi+1)/2.&lt;br /&gt;
: Some trapeziums will have a negative and some a positive area.  If you add all the areas traversing clockwise, the total is the area of the polygon.  Going anti-clock gives the negative area.&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: Clive&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
    So do you think you can help me out?&lt;br /&gt;
                             Thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/java-script/282285/283085/re-i-need-a-program-that-will-compute-area-of-various-geometrical-fig/#283085</guid>
      <pubDate>Mon, 29 Nov 2004 07:50:43 -0700</pubDate>
      <category>JavaScript</category>
    </item>
    <item>
      <title>Re: i need a program that will compute area of various geometrical fig</title>
      <link>http://www.programmersheaven.com/mb/java-script/282285/283090/re-i-need-a-program-that-will-compute-area-of-various-geometrical-fig/#283090</link>
      <description>: : There is a nice algorith available to calculate the area of a polygon defined by an array of x,y coordinate pairs.&lt;br /&gt;
: : It relies on the idea that the area formed by any pair of points (Xi,Yi) and (Xi+1, Yi+1) and the points projected onto the X-axis is a trapezium, with area = (Xi+1-Xi)*(Yi+Yi+1)/2.&lt;br /&gt;
: : Some trapeziums will have a negative and some a positive area.  If you add all the areas traversing clockwise, the total is the area of the polygon.  Going anti-clock gives the negative area.&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : Clive&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
:     So do you think you can help me out?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:                              Thanks&lt;br /&gt;
&lt;br /&gt;
Just some few code to help me complete the program. Please.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/java-script/282285/283090/re-i-need-a-program-that-will-compute-area-of-various-geometrical-fig/#283090</guid>
      <pubDate>Mon, 29 Nov 2004 08:08:01 -0700</pubDate>
      <category>JavaScript</category>
    </item>
    <item>
      <title>Re: i need a program that will compute area of various geometrical fig</title>
      <link>http://www.programmersheaven.com/mb/java-script/282285/283122/re-i-need-a-program-that-will-compute-area-of-various-geometrical-fig/#283122</link>
      <description>&lt;br /&gt;
: :     So do you think you can help me out?&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
I thought that I had!&lt;br /&gt;
What you seem to be asking is for someone to do it all for you.  But, even if willing, you would need to specify where the data (x,y) points are coming from, and what form they would be in.  After that it is pretty simple- you just need a function with a loop to tot up the contribution from each pair. &lt;br /&gt;
Out of any context, it is difficult (for me at least) to be much more specific.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clive&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/java-script/282285/283122/re-i-need-a-program-that-will-compute-area-of-various-geometrical-fig/#283122</guid>
      <pubDate>Mon, 29 Nov 2004 12:09:00 -0700</pubDate>
      <category>JavaScript</category>
    </item>
  </channel>
</rss>